# dev.knotless.listActorItems

> The pulls or issues an account opened, is assigned or is asked to review, on any public repository an appview has indexed, newest first, a page at a time: follow `cursor` until it is absent. No authentication; responses are not personalized.

- Kind: query
- Authority: knotless.dev
- Lexicon: 1
- Published by [lexicons.knotless.dev](https://lexicon.garden/identity/did:plc:yqsg7znbbhfmj3a2nrpnaerk), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.listActorItems)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.listActorItems/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.listActorItems/analytics)

## Query (`dev.knotless.listActorItems`)

Type: query · GET

### Parameters (query string)

- `actor` (string · at-identifier, required): The account, by DID or handle.
- `cursor` (string): How many the pages before held.
  - Constraints: maxLength: 32
- `kind` (string, required)
  - Constraints: maxLength: 16, knownValues: pull | issue
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50
- `relation` (string): Those it opened, is assigned, or is asked to review; those it opened if absent.
  - Constraints: maxLength: 16, knownValues: created | assigned | review
- `state` (string): Open ones, or those closed and merged; open if absent.
  - Constraints: maxLength: 16, knownValues: open | closed

### Output (application/json)

- `cursor` (string): Absent on the last page.
- `items` (array, required)
  - `items` (ref)
    - Reference: `#actorItem`

## #actorItem (`dev.knotless.listActorItems#actorItem`)

Type: object

A pull or an issue, and the repository it is on.

### Properties

- `item` (ref, required)
  - Reference: `dev.knotless.defs#itemView`
- `repo` (ref, required)
  - Reference: `dev.knotless.getFeed#repoView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "actorItem": {
      "description": "A pull or an issue, and the repository it is on.",
      "properties": {
        "item": {
          "ref": "dev.knotless.defs#itemView",
          "type": "ref"
        },
        "repo": {
          "ref": "dev.knotless.getFeed#repoView",
          "type": "ref"
        }
      },
      "required": [
        "item",
        "repo"
      ],
      "type": "object"
    },
    "main": {
      "description": "The pulls or issues an account opened, is assigned or is asked to review, on any public repository an appview has indexed, newest first, a page at a time: follow `cursor` until it is absent. No authentication; responses are not personalized.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Absent on the last page.",
              "type": "string"
            },
            "items": {
              "items": {
                "ref": "#actorItem",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "The account, by DID or handle.",
            "format": "at-identifier",
            "type": "string"
          },
          "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"
          },
          "relation": {
            "description": "Those it opened, is assigned, or is asked to review; those it opened if absent.",
            "knownValues": [
              "created",
              "assigned",
              "review"
            ],
            "maxLength": 16,
            "type": "string"
          },
          "state": {
            "description": "Open ones, or those closed and merged; open if absent.",
            "knownValues": [
              "open",
              "closed"
            ],
            "maxLength": 16,
            "type": "string"
          }
        },
        "required": [
          "actor",
          "kind"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "The pulls or issues that concern an account, on any repository.",
  "id": "dev.knotless.listActorItems",
  "lexicon": 1
}
```
