dev.knotless.blockActor

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "block": {
      "description": "Whom to block, and from what.",
      "properties": {
        "repo": {
          "description": "The one repository to block it from, by its dev.knotless.repo record: one of the asker's own. All of them when absent.",
          "format": "at-uri",
          "type": "string"
        },
        "subject": {
          "description": "The account to block, by DID or handle.",
          "format": "at-identifier",
          "type": "string"
        }
      },
      "required": [
        "subject"
      ],
      "type": "object"
    },
    "blockState": {
      "description": "Whether the account is blocked now, from what was asked.",
      "properties": {
        "blocking": {
          "description": "Whether it is blocked now.",
          "type": "boolean"
        },
        "subject": {
          "description": "The account.",
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "subject",
        "blocking"
      ],
      "type": "object"
    },
    "main": {
      "description": "Writes a dev.knotless.block record in the account logged in to this appview's web pages, as `knotless block` does, unless one is there already: nothing the account blocked writes about its repositories, or about the one repository named, shows. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.",
      "errors": [
        {
          "description": "The account is the one asking, or the repository is not its own.",
          "name": "InvalidRequest"
        },
        {
          "description": "No such account.",
          "name": "NotFound"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "ref": "#block",
          "type": "ref"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#blockState",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Blocks an account as the account logged in to this appview's pages.",
  "id": "dev.knotless.blockActor",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.blockActor

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

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

  • The accounts the asking account blocks.

  • A declaration that the author does not want to see, or be seen by, another account on birds.place. Public and stored in the author's own repository, so it travels with them and survives this service. Blocking is not a r…

  • An account a repository's owner keeps out, as app.bsky.graph.block blocks one.

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

Lexicon Garden

@