rsvp.atmo.space.whoami
Report the caller's relationship to a space: whether they are the owner, a member, and at what permission level. Useful for clients to avoid a listMembers roundtrip.
Details · query
| Kind | query |
|---|---|
| Authority | space.atmo.rsvp |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.permsNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Report the caller's relationship to a space: whether they are the owner, a member, and at what permission level. Useful for clients to avoid a listMembers roundtrip.",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"isMember": {
"type": "boolean"
},
"isOwner": {
"type": "boolean"
},
"perms": {
"description": "Present only when the caller is a member or the owner.",
"knownValues": [
"read",
"write"
],
"type": "string"
}
},
"required": [
"isOwner",
"isMember"
],
"type": "object"
}
},
"parameters": {
"properties": {
"spaceUri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"spaceUri"
],
"type": "params"
},
"type": "query"
}
},
"id": "rsvp.atmo.space.whoami",
"lexicon": 1
}