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.
Parameters
Output
Encoding
application/jsonisMember
boolean
Required
No description available.
isOwner
boolean
Required
No description available.
perms
string
Optional
Present only when the caller is a member or the owner.
Known values:
read, writeErrors
NotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"isOwner",
"isMember"
],
"properties": {
"perms": {
"type": "string",
"description": "Present only when the caller is a member or the owner.",
"knownValues": [
"read",
"write"
]
},
"isOwner": {
"type": "boolean"
},
"isMember": {
"type": "boolean"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"spaceUri"
],
"properties": {
"spaceUri": {
"type": "string",
"format": "at-uri"
}
}
},
"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."
}