org.cairnsproto.draft.listIssues

Issues about a project: the project, its policy, one of its sites, or one of its stones. Newest first, each with its comments and the state its latest maintainer issueState gives it.

Repository @cairnsproto.org did:plc:np7ezqujtsry4bkogisaabul namespace authority
Details · query
Kindquery
Authoritydraft.cairnsproto.org
Indexed
cid bafyreiblc5w6el3thawteosqmwtdmeawydgxdey3gjnkgknxjk5q4vajly

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "issueView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "comments": {
          "description": "Oldest first.",
          "items": {
            "ref": "#recordView",
            "type": "ref"
          },
          "type": "array"
        },
        "issue": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "record": {
          "description": "The issue record as its author wrote it.",
          "type": "unknown"
        },
        "seenRound": {
          "minimum": 1,
          "type": "integer"
        },
        "site": {
          "description": "The key (hex) of the site the issue is about: its site subject's, or the site of its stone subject. Absent for an issue about the project or its policy.",
          "maxLength": 64,
          "minLength": 64,
          "type": "string"
        },
        "state": {
          "knownValues": [
            "open",
            "closed"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "stateRecord": {
          "description": "The maintainer issueState that set the state. Absent while no maintainer has written one.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "issue",
        "author",
        "seenRound",
        "record",
        "state",
        "comments"
      ],
      "type": "object"
    },
    "main": {
      "description": "Issues about a project: the project, its policy, one of its sites, or one of its stones. Newest first, each with its comments and the state its latest maintainer issueState gives it.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "maxLength": 512,
              "type": "string"
            },
            "issues": {
              "items": {
                "ref": "#issueView",
                "type": "ref"
              },
              "type": "array"
            },
            "project": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            }
          },
          "required": [
            "project",
            "issues"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "maxLength": 512,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "project": {
            "format": "at-uri",
            "type": "string"
          },
          "site": {
            "description": "Limit to issues about this site key (hex) or a stone at it.",
            "maxLength": 64,
            "minLength": 64,
            "type": "string"
          },
          "state": {
            "knownValues": [
              "open",
              "closed"
            ],
            "maxLength": 32,
            "type": "string"
          }
        },
        "required": [
          "project"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "recordView": {
      "properties": {
        "author": {
          "format": "did",
          "type": "string"
        },
        "record": {
          "type": "unknown"
        },
        "ref": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "seenRound": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "ref",
        "author",
        "seenRound",
        "record"
      ],
      "type": "object"
    }
  },
  "id": "org.cairnsproto.draft.listIssues",
  "lexicon": 1
}