# support.supper.entitlements.listEntitlements

> Published by [supper.support](https://lexicon.garden/identity/did:plc:mcsqdltevtjpu26xthzzmm2l)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.entitlements.listEntitlements)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.entitlements.listEntitlements/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mcsqdltevtjpu26xthzzmm2l/support.supper.entitlements.listEntitlements/examples)

## Definitions

### `support.supper.entitlements.listEntitlements#entitlementView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes | CID of the exact entitlement record generation returned in this view. |
| `commissionId` | `string` | No | Supper-local commission identifier. Not a payment processor identifier. |
| `createdAt` | `string` (datetime) | No |  |
| `creator` | `string` (did) | Yes | Author repo DID, derived by the AppView. |
| `indexedAt` | `string` (datetime) | Yes | When the AppView indexed this record. |
| `kind` | `string` | Yes |  |
| `listing` | `ref` → `com.atproto.repo.strongRef` | No |  |
| `productId` | `string` | No | Supper-local product identifier. Not a payment processor identifier. |
| `uri` | `string` (at-uri) | Yes | AT URI of the indexed support.supper.entitlement record. |

### `support.supper.entitlements.listEntitlements`

**Type**: `query`

List creator-owned support.supper.entitlement anchors, optionally filtered by kind. The creator convenience field is derived from the author repo; legacy records whose copied creator field names a different DID are excluded. Public outputs carry only anchor fields plus opaque listing strongRefs. The Supper-local productId/commissionId are app identifiers, never payment processor identifiers; no processor ids, buyer PII, or fulfillment data appear here.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `creator` | `string` (did) | Yes | DID of the creator whose entitlement anchors to list. |
| `cursor` | `string` | No | Opaque cursor from a previous response. |
| `kind` | `string` | No | Optional filter restricting results to a single entitlement kind. |
| `limit` | `integer` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `entitlements` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entitlementView": {
      "properties": {
        "cid": {
          "description": "CID of the exact entitlement record generation returned in this view.",
          "format": "cid",
          "type": "string"
        },
        "commissionId": {
          "description": "Supper-local commission identifier. Not a payment processor identifier.",
          "maxLength": 256,
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "creator": {
          "description": "Author repo DID, derived by the AppView.",
          "format": "did",
          "type": "string"
        },
        "indexedAt": {
          "description": "When the AppView indexed this record.",
          "format": "datetime",
          "type": "string"
        },
        "kind": {
          "knownValues": [
            "support",
            "digital",
            "physical",
            "commission",
            "membership",
            "other"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "listing": {
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        },
        "productId": {
          "description": "Supper-local product identifier. Not a payment processor identifier.",
          "maxLength": 256,
          "type": "string"
        },
        "uri": {
          "description": "AT URI of the indexed support.supper.entitlement record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "creator",
        "kind",
        "indexedAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "List creator-owned support.supper.entitlement anchors, optionally filtered by kind. The creator convenience field is derived from the author repo; legacy records whose copied creator field names a different DID are excluded. Public outputs carry only anchor fields plus opaque listing strongRefs. The Supper-local productId/commissionId are app identifiers, never payment processor identifiers; no processor ids, buyer PII, or fulfillment data appear here.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "maxLength": 4096,
              "type": "string"
            },
            "entitlements": {
              "items": {
                "ref": "#entitlementView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "entitlements"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "creator": {
            "description": "DID of the creator whose entitlement anchors to list.",
            "format": "did",
            "type": "string"
          },
          "cursor": {
            "description": "Opaque cursor from a previous response.",
            "maxLength": 4096,
            "type": "string"
          },
          "kind": {
            "description": "Optional filter restricting results to a single entitlement kind.",
            "knownValues": [
              "support",
              "digital",
              "physical",
              "commission",
              "membership",
              "other"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "creator"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "support.supper.entitlements.listEntitlements",
  "lexicon": 1
}
```
