# party.whey.writeproxy.admin.listRegistrations

> List delegator and caller registrations. Metadata only.

- Kind: query
- Authority: admin.writeproxy.whey.party
- Lexicon: 1
- Published by [whey.party](https://lexicon.garden/identity/did:plc:mn45tewwnse5btfftvd3powc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.writeproxy.admin.listRegistrations)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.writeproxy.admin.listRegistrations/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mn45tewwnse5btfftvd3powc/party.whey.writeproxy.admin.listRegistrations/analytics)

## Query (`party.whey.writeproxy.admin.listRegistrations`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
- `did` (string · did)
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50
- `pds` (string)
  - Constraints: maxLength: 512
- `role` (string)
  - Constraints: enum: delegator | caller
- `status` (string)
  - Constraints: enum: pending | approved | rejected | suspended

### Output (application/json)

- `cursor` (string)
- `registrations` (array, required)
  - `items` (ref)
    - Reference: `party.whey.writeproxy.defs#registration`

### Errors

- `NotOperator`: No description in schema.
- `InvalidCursor`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "name": "NotOperator"
        },
        {
          "name": "InvalidCursor"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "registrations": {
              "items": {
                "ref": "party.whey.writeproxy.defs#registration",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "registrations"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "did": {
            "format": "did",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "pds": {
            "maxLength": 512,
            "type": "string"
          },
          "role": {
            "enum": [
              "delegator",
              "caller"
            ],
            "type": "string"
          },
          "status": {
            "enum": [
              "pending",
              "approved",
              "rejected",
              "suspended"
            ],
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "List delegator and caller registrations. Metadata only.",
  "id": "party.whey.writeproxy.admin.listRegistrations",
  "lexicon": 1
}
```
