{
"id": "town.muni.arbiter.getSpaceConfig",
"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."
},
"resolverDepth": {
"type": "integer",
"minimum": 0,
"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": [
"spaceType",
"config"
],
"properties": {
"config": {
"refs": [],
"type": "union",
"description": "The space configuration object."
},
"spaceType": {
"type": "string",
"format": "nsid",
"description": "The type of the space."
}
}
},
"encoding": "application/json"
},
"description": "Get the configuration of a space on the arbiter."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}