{
"id": "town.muni.arbiter.getSpaceMembers",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"arbiterDid",
"spaceKey"
],
"properties": {
"spaceKey": {
"type": "string",
"description": "The key of the space to configure."
},
"arbiterDid": {
"type": "string",
"format": "did",
"description": "The DID of the arbiter that the space is in."
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "ErrArbiterNotExists",
"description": "The specified arbiter does not exist on this server."
},
{
"name": "ErrSpaceNotExists",
"description": "The specified space does not exist on this arbiter."
},
{
"name": "ErrPermissionDenied",
"description": "The requesting user is not allowed to make the request."
}
],
"output": {
"schema": {
"type": "object",
"required": [
"members"
],
"properties": {
"members": {
"type": "array",
"items": {
"type": "object",
"required": [
"member",
"access"
],
"properties": {
"access": {
"refs": [],
"type": "union",
"description": "The member's access config object."
},
"member": {
"refs": [
"town.muni.arbiter.defs#memberDid",
"town.muni.arbiter.defs#memberLocalSpace",
"town.muni.arbiter.defs#memberRemoteSpace"
],
"type": "union",
"description": "The member ID"
}
}
},
"description": "The members of the space"
}
}
},
"encoding": "application/json"
},
"description": "Get the members that have been assigned to the space.\n\nThis is not a flat membership list, but a list of the direct members\nof the space, including DIDs, local spaces, and remote spaces that have\nbeen added as members, without doing any resolution of remote spaces."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}