rsvp.atmo.space.listSpaces
List spaces the caller has access to. Default scope is 'member' (spaces the caller is a member of, including owned); 'owner' lists only spaces the caller owns.
Details · query
| Kind | query |
|---|---|
| Authority | space.atmo.rsvp |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.scopeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "List spaces the caller has access to. Default scope is 'member' (spaces the caller is a member of, including owned); 'owner' lists only spaces the caller owns.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"spaces": {
"items": {
"ref": "rsvp.atmo.space.defs#spaceView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"spaces"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"limit": {
"default": 50,
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"scope": {
"default": "member",
"knownValues": [
"member",
"owner"
],
"type": "string"
},
"type": {
"format": "nsid",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}
},
"id": "rsvp.atmo.space.listSpaces",
"lexicon": 1
}