dev.knotless.listBlocks

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "block": {
      "description": "One account blocked.",
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "repo": {
          "description": "The one repository it is blocked from, under the name it has now; absent for all of them.",
          "ref": "dev.knotless.defs#repoViewBasic",
          "type": "ref"
        },
        "subject": {
          "description": "The account blocked.",
          "ref": "dev.knotless.defs#actorView",
          "type": "ref"
        },
        "uri": {
          "description": "The dev.knotless.block record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "subject",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "The accounts the asking account keeps out of its repositories, from the dev.knotless.block records in its own repo, so a block lists as soon as it is made: the latest first, each from all its repositories or from one. Blocks naming a private repository live in its space, and are not listed. Requires authentication: a service token, or the session cookie the pages' login sets.",
      "errors": [
        {
          "description": "No account asks.",
          "name": "AuthenticationRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "blocks": {
              "items": {
                "ref": "#block",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "blocks"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "description": "The accounts the asking account blocks.",
  "id": "dev.knotless.listBlocks",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.listBlocks

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreihhiwwpxjwzmrg7ylnxhuqju3hrin245r64gb62gbnzq37rudowta
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.listBlocks

Referenced Schemas (2)

Similar Lexicons

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

  • Blocks an account as the account logged in to this appview's pages.

  • Enumerate the accounts blocked by the authenticated viewer (their own block list). Viewer-private: requires a session (AuthRequired logged-out). No actor parameter — only the caller's own list is accessible. Each row …

  • town.delve.graph.getBlocks querynot from the namespace authority

    Enumerates which accounts the requesting account is currently blocking. Requires auth.

  • Enumerates which accounts the requesting account is currently blocking. Requires auth.

  • Enumerates which accounts the requesting account is currently blocking. Requires auth.

Lexicon Garden

@