us.off-the-clock.getMembership

Community-wide membership, read from the subspace model: the member entries and policies the community's PDS publishes, which decide what this service shows; the PDS itself decides access (D77). A trusted service may ask about any DID; a viewer only about themselves. A non-member is an answer, not an error.

Details · query
Kindquery
Authorityoff-the-clock.us
Indexed

Showing version bafyreicq73ak6kwovckfnlhppsieynics4qbhojpyuuodmqtdzwodi6v7a. Show the latest

cid bafyreicq73ak6kwovckfnlhppsieynics4qbhojpyuuodmqtdzwodi6v7a

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Community-wide membership, read from the subspace model: the member entries and policies the community's PDS publishes, which decide what this service shows; the PDS itself decides access (D77). A trusted service may ask about any DID; a viewer only about themselves. A non-member is an answer, not an error.",
      "errors": [
        {
          "description": "The caller may not ask about this DID.",
          "name": "Forbidden"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "admin": {
              "description": "An effective admin: administers every pair.",
              "type": "boolean"
            },
            "adminOf": {
              "description": "The TIDs of the pairs this DID administers (D35).",
              "items": {
                "format": "tid",
                "type": "string"
              },
              "type": "array"
            },
            "did": {
              "format": "did",
              "type": "string"
            },
            "invited": {
              "description": "A root entry with both read and write false names this DID: invited, not yet joined (D80); it reads nothing and is listed nowhere.",
              "type": "boolean"
            },
            "limitedContributor": {
              "description": "A joined member carrying a counting limited-contributor label: they create only likes, RSVPs, poll votes and their own profile (D92). Omitted otherwise.",
              "type": "boolean"
            },
            "member": {
              "description": "The community identity, or a DID that has joined: a root entry with read or write (D80).",
              "type": "boolean"
            },
            "spaces": {
              "description": "The content halves the DID holds read or write in, as <space-type>/<space-id>; the root is always included for a member.",
              "items": {
                "maxLength": 512,
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "did",
            "member",
            "admin",
            "adminOf",
            "spaces"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "The account to ask about.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.getMembership",
  "lexicon": 1
}