tools.umbrae.community.join

Join a community, ask to, or accept a pending invitation, within its join mode. Served by the community's managing app, at the service its ref's app names, with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the ref's app. Any managing app may serve it: a serving app, or a PDS that manages its own communities.

Details · procedure
Kindprocedure
Authoritycommunity.umbrae.tools
Commit rev3n3bwrs6qsk2e
Indexed
cid bafyreicwukky5ggloulpa7eowqn56g7tlo5ezbuwpfcyddlqrpajrad4pu

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.stateNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Join a community, ask to, or accept a pending invitation, within its join mode. Served by the community's managing app, at the service its ref's app names, with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the ref's app. 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"
        },
        {
          "description": "Invite-only, and no invitation.",
          "name": "JoinClosed"
        },
        {
          "description": "The caller was removed.",
          "name": "Removed"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "key": {
              "description": "The community's key within this app.",
              "maxLength": 63,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "key"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "state": {
              "knownValues": [
                "member",
                "requested"
              ],
              "type": "string"
            }
          },
          "required": [
            "state"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.umbrae.community.join",
  "lexicon": 1
}