fyi.opensocial.admitMember
Approve or deny a join request. Requires admit.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | opensocial.fyi |
| Indexed |
Showing version bafyreibasxav4z3rk25goyt36qanjz75qkwgwaouwzbhpvy6s3kh7cjiiy. Show the latest
Checks
Validunlimited-stringdefs.main.input.schema.properties.decisionNo maxLength, maxGraphemes or format limits this string.endpoint-output-undefineddefs.mainNo output is defined. Endpoints should define one, even an empty one.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Approve or deny a join request. Requires admit.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"decision": {
"knownValues": [
"admit",
"deny"
],
"type": "string"
},
"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": {
"items": {
"maxLength": 64,
"type": "string"
},
"type": "array"
}
},
"required": [
"group",
"did",
"decision"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "fyi.opensocial.admitMember",
"lexicon": 1
}