town.muni.arbiter.listSpaces

zicklag.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get the members that have been assigned to the space.\n\nThis is not a flat membership list, but a list of the direct members\nof the space, including DIDs, local spaces, and remote spaces that have\nbeen added as members, without doing any resolution of remote spaces.",
      "errors": [
        {
          "description": "The specified arbiter does not exist on this server.",
          "name": "ErrArbiterNotExists"
        },
        {
          "description": "The specified space does not exist on this arbiter.",
          "name": "ErrSpaceNotExists"
        },
        {
          "description": "The requesting user is not allowed to make the request.",
          "name": "ErrPermissionDenied"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "spaces": {
              "description": "The list of spaces on the arbiter that the requesting user has access to.",
              "items": {
                "properties": {
                  "config": {
                    "description": "The space config.\n\nThis may not be returned if the server does not want to allow the requesting user\nto read it.",
                    "refs": [],
                    "type": "union"
                  },
                  "spaceKey": {
                    "description": "The space's key.",
                    "maxLength": 1024,
                    "type": "string"
                  },
                  "spaceType": {
                    "description": "The type of the space.",
                    "format": "nsid",
                    "type": "string"
                  }
                },
                "required": [
                  "spaceKey",
                  "spaceType"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "spaces"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "arbiterDid": {
            "description": "The DID of the arbiter that the space is in.",
            "format": "did",
            "type": "string"
          },
          "resolverDepth": {
            "description": "The maximum depth to allow when doing remote resolutions.\n\nBecause spaces are allowed to have members resolved from remote spaces,\nall of the arbiter endpoints have an optional resolution depth parameter\nthat can be used to limit how many chained remote calls can be resolved.\n\nThis applies both to queries and procedures. Queries may need to resolve\nexternal members to complete the member list, and procedures may need\nto resolve external members if the requesting member is not in the local\nmember list, to see if the member has access through a remote list.",
            "type": "integer"
          }
        },
        "required": [
          "arbiterDid"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "town.muni.arbiter.listSpaces",
  "lexicon": 1
}

Validate Record

Validate a record against town.muni.arbiter.listSpaces

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ulg2bzgrgs7ddjjlmhtegk3v
CID
bafyreieg2ncsygsrul2zlifwzjicedhoq2emfl6qekk2zqjty5fk4xosaa
Indexed At
2026-05-19 22:18 UTC
AT-URI
at://did:plc:ulg2bzgrgs7ddjjlmhtegk3v/com.atproto.lexicon.schema/town.muni.arbiter.listSpaces

Version History (2 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@