{
"id": "town.muni.arbiter.resolveSpaceMembers",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"arbiterDid",
"spaceKey"
],
"properties": {
"spaceKey": {
"type": "string",
"maxLength": 1024,
"description": "The key of the space to configure."
},
"arbiterDid": {
"type": "string",
"format": "did",
"description": "The DID of the arbiter that the space is in."
},
"resolverDepth": {
"type": "integer",
"description": "The maximum depth to allow when doing remote resolutions needed to evaluate the\naccess of the requesting user."
}
}
},
"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": [
"did",
"access"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "The member DID"
},
"access": {
"refs": [],
"type": "union",
"description": "The member's access config object."
}
}
},
"description": "The members of the space"
}
}
},
"encoding": "application/json"
},
"description": "Get the flattened, resolved list of members for a space.\n\nThis member list will be the same as what the server is expected to return\nas the space host, but it will additionally contain a resolved member config\nobject for each member.\n\nThe details of the member config object are dependent on the server implementation\nand the arbiter config type."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}