dev.knotless.listBlocks

lexicons.knotless.dev

Documentation

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.

main query

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.

Output

Encodingapplication/json
blocks array Required

No description available.

Errors

AuthenticationRequired No account asks.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
View raw schema
{
  "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"
}
block object

One account blocked.

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

uri string at-uri Required

The dev.knotless.block record.

View raw schema
{
  "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"
}

Lexicon Garden

@