tools.umbrae.community.listMembers

A community's members, requests, invitations or removals. Moderators only: the accounts its managing app names. 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 · query
Kindquery
Authoritycommunity.umbrae.tools
Commit rev3n3bwrsncms2e
Indexed
cid bafyreif6toxbeuxmjcnxgnch6r46sticd4fy6h54zen5yh6dbg7m6dqt2q

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A community's members, requests, invitations or removals. Moderators only: the accounts its managing app names. 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"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "members": {
              "items": {
                "ref": "#member",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "members"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "key": {
            "description": "The community's key within this app.",
            "maxLength": 63,
            "minLength": 1,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "state": {
            "knownValues": [
              "member",
              "requested",
              "invited",
              "removed"
            ],
            "type": "string"
          }
        },
        "required": [
          "key"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "member": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        },
        "moderator": {
          "type": "boolean"
        },
        "role": {
          "description": "A member's role, or an invitation's.",
          "knownValues": [
            "reader",
            "writer"
          ],
          "type": "string"
        },
        "since": {
          "format": "datetime",
          "type": "string"
        },
        "state": {
          "knownValues": [
            "member",
            "requested",
            "invited",
            "removed"
          ],
          "type": "string"
        }
      },
      "required": [
        "did",
        "state",
        "moderator",
        "since"
      ],
      "type": "object"
    }
  },
  "id": "tools.umbrae.community.listMembers",
  "lexicon": 1
}