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
Kindquery
Authoritycommunity.umbrae.tools
Commit rev3n37heyieoc2e
Indexed

Showing version bafyreibj5muufn7q5skabbnoylcbwnqfbtnakuihfp6wn2gg4bqunidlum. Show the latest

cid bafyreibj5muufn7q5skabbnoylcbwnqfbtnakuihfp6wn2gg4bqunidlum

Checks

Valid
JSONDownload
{
  "$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
}