dev.knotless.listItems

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A repository's pulls or its issues, open or closed, newest first, a page at a time: follow `cursor` until it is absent. `q` filters them as GitHub's search does. No authentication needed; asked as an account, with a service token or the pages' session cookie, a private repository it is a member of is read too, and the answer is that account's alone.",
      "errors": [
        {
          "description": "No such repository; or this appview keeps no index, so it knows no pulls or issues.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "authors": {
              "description": "Who opened pulls or issues of its kind, in any state, the most recent first, for a filter to name. Absent when there are none.",
              "items": {
                "ref": "dev.knotless.defs#actorView",
                "type": "ref"
              },
              "type": "array"
            },
            "closedCount": {
              "description": "How many of its kind are closed or merged, of those `q` matches.",
              "minimum": 0,
              "type": "integer"
            },
            "cursor": {
              "description": "Absent on the last page.",
              "type": "string"
            },
            "items": {
              "items": {
                "ref": "dev.knotless.defs#itemView",
                "type": "ref"
              },
              "type": "array"
            },
            "labels": {
              "description": "The labels the repository defines, in its order, for a filter to name. Absent when it defines none.",
              "items": {
                "ref": "dev.knotless.repo#label",
                "type": "ref"
              },
              "type": "array"
            },
            "openCount": {
              "description": "How many of its kind are open, of those `q` matches.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "items",
            "openCount",
            "closedCount"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "How many the pages before held.",
            "maxLength": 32,
            "type": "string"
          },
          "kind": {
            "knownValues": [
              "pull",
              "issue"
            ],
            "maxLength": 16,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "A filter, in words: `label:<name>` (each must be on it), `-label:<name>`, `no:label`, `author:<handle or did>` (any of them), `state:open|closed|merged` (over `state`), `is:pull|issue`, and words its title or body holds, ignoring case. Double quotes keep a value or words together; a qualifier it does not know is a word. The counts are of those it matches.",
            "maxLength": 1024,
            "type": "string"
          },
          "repo": {
            "description": "The repository's dev.knotless.repo record. Its authority may be a handle; a name the repository had before, or an owner it moved from with its agreement, finds it under the name it has now.",
            "format": "at-uri",
            "type": "string"
          },
          "state": {
            "description": "Open ones, or those closed and merged; open if absent.",
            "knownValues": [
              "open",
              "closed"
            ],
            "maxLength": 16,
            "type": "string"
          }
        },
        "required": [
          "repo",
          "kind"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "A repository's pulls or issues.",
  "id": "dev.knotless.listItems",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.listItems

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

Metadata

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

Referenced Schemas (3)

Similar Lexicons

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

Lexicon Garden

@