fyi.opensocial.admitMember
Approve a join request, giving the requester their roles. Requires admit. denyJoinRequest declines one.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Showing version bafyreib6t3fquyc7chvscduvecv7zzi47saecwdayayorhd3oyrskdywfq. Show the latest
Checks
Validendpoint-output-undefineddefs.mainNo output is defined. Endpoints should define one, even an empty one.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Approve a join request, giving the requester their roles. Requires admit. denyJoinRequest declines one.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"group": {
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
"format": "did",
"type": "string"
},
"roles": {
"description": "The roles to give. Omitted gives the group's default roles.",
"items": {
"maxLength": 64,
"type": "string"
},
"type": "array"
}
},
"required": [
"group",
"did"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.admitMember",
"lexicon": 1
}