tools.umbrae.community.getCommunity
A community's details and the caller's standing in it. Served by the managing app named in the community space's policy, at its #umbrae_app endpoint, with atproto service auth (iss the caller, aud the managing app, lxm this method); clients call through their PDS with atproto-proxy set to the policy's managingApp. Any managing app may serve it: a serving app, or a PDS that manages its own communities.
Details · query
| Kind | query |
|---|---|
| Authority | community.umbrae.tools |
| Commit rev | 3n37heyieoc2e |
| Indexed |
Showing version bafyreibj5muufn7q5skabbnoylcbwnqfbtnakuihfp6wn2gg4bqunidlum. Show the latest
Checks
Validunlimited-stringdefs.main.output.schema.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.joinModeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.managingAppNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.nameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewerState.properties.roleNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.viewerState.properties.stateNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A community's details and the caller's standing in it. Served by the managing app named in the community space's policy, at its #umbrae_app endpoint, with atproto service auth (iss the caller, aud the managing app, lxm this method); clients call through their PDS with atproto-proxy set to the policy's managingApp. Any managing app may serve it: a serving app, or a PDS that manages its own communities.",
"errors": [
{
"description": "Not a community this managing app manages.",
"name": "CommunityNotFound"
},
{
"description": "The caller lacks the role this needs.",
"name": "NotAllowed"
},
{
"description": "The managing app doesn't admit this account.",
"name": "NotAdmitted"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"description": {
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"handle": {
"format": "handle",
"type": "string"
},
"joinMode": {
"knownValues": [
"open",
"request",
"invite"
],
"type": "string"
},
"managingApp": {
"description": "The did#serviceId the space policy names.",
"type": "string"
},
"name": {
"type": "string"
},
"space": {
"description": "The community space: at:space/{did}/tools.umbrae.space/community.",
"format": "space-ref",
"type": "string"
},
"viewer": {
"ref": "#viewerState",
"type": "ref"
}
},
"required": [
"did",
"space",
"handle",
"name",
"managingApp",
"joinMode",
"viewer"
],
"type": "object"
}
},
"parameters": {
"properties": {
"community": {
"description": "The community account's DID.",
"format": "did",
"type": "string"
}
},
"required": [
"community"
],
"type": "params"
},
"type": "query"
},
"viewerState": {
"properties": {
"role": {
"knownValues": [
"member",
"moderator"
],
"type": "string"
},
"state": {
"knownValues": [
"none",
"requested",
"invited",
"member",
"removed"
],
"type": "string"
}
},
"required": [
"state"
],
"type": "object"
}
},
"id": "tools.umbrae.community.getCommunity",
"lexicon": 1
}