fyi. opensocial. admitMember
Approve a join request, giving the requester their roles. Requires admit. denyJoinRequest declines one.
- Kind
- A method (procedure)
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.admitMember
main procedure
Input
Encoding: application/json
| Field | Type | Description |
|---|---|---|
did (required) | string (did) | |
group (required) | string (did) | The group DID. Every method is served by the group's host and authorized against that group's roles. |
roles | array of string
| The roles to give. Omitted gives the group's default roles. |
The schema as published
{
"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
}