# dev.knotless.listRunnerInvites

> The invites dev.knotless.inviteRunner left for the caller, oldest first: the private repositories that say they name it among their runners, or triagers. Requires a service token from the caller's PDS, audience the appview's DID, for this method.

- 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.listRunnerInvites)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.listRunnerInvites/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:yqsg7znbbhfmj3a2nrpnaerk/dev.knotless.listRunnerInvites/analytics)

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

Type: query · GET

### Parameters (query string)

- `cursor` (string): Those after the invite a page ended at.
  - Constraints: maxLength: 32
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 500, default: 100

### Output (application/json)

- `cursor` (string): Where this page ended: the cursor to ask from for invites after it, kept even when it is the last.
  - Constraints: maxLength: 32
- `invites` (array, required)
  - `items` (ref)
    - Reference: `#invite`

## #invite (`dev.knotless.listRunnerInvites#invite`)

Type: object

A private repository that invited the caller.

### Properties

- `createdAt` (string · datetime, required): When it last invited the caller.
- `did` (string · did, required): The repository's owner.
- `name` (string, required): The repository's name: its record key.
  - Constraints: maxLength: 100

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "invite": {
      "description": "A private repository that invited the caller.",
      "properties": {
        "createdAt": {
          "description": "When it last invited the caller.",
          "format": "datetime",
          "type": "string"
        },
        "did": {
          "description": "The repository's owner.",
          "format": "did",
          "type": "string"
        },
        "name": {
          "description": "The repository's name: its record key.",
          "maxLength": 100,
          "type": "string"
        }
      },
      "required": [
        "did",
        "name",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "The invites dev.knotless.inviteRunner left for the caller, oldest first: the private repositories that say they name it among their runners, or triagers. Requires a service token from the caller's PDS, audience the appview's DID, for this method.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Where this page ended: the cursor to ask from for invites after it, kept even when it is the last.",
              "maxLength": 32,
              "type": "string"
            },
            "invites": {
              "items": {
                "ref": "#invite",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "invites"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Those after the invite a page ended at.",
            "maxLength": 32,
            "type": "string"
          },
          "limit": {
            "default": 100,
            "maximum": 500,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "dev.knotless.listRunnerInvites",
  "lexicon": 1
}
```
