# com.tynanpurdy.giftlist.getClaims

> Which items on a gift list are taken. Always empty for the list's owner and for anonymous callers; never reveals who claimed what.

- Kind: query
- Authority: giftlist.tynanpurdy.com
- Lexicon: 1
- Published by [giftlist.tynanpurdy.com](https://lexicon.garden/identity/did:plc:tlm5sbbtmcj55u33t2l35cat), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tlm5sbbtmcj55u33t2l35cat/com.tynanpurdy.giftlist.getClaims)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tlm5sbbtmcj55u33t2l35cat/com.tynanpurdy.giftlist.getClaims/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tlm5sbbtmcj55u33t2l35cat/com.tynanpurdy.giftlist.getClaims/analytics)

## Query (`com.tynanpurdy.giftlist.getClaims`)

Type: query · GET

### Parameters (query string)

- `list` (string · at-uri, required)

### Output (application/json)

- `claims` (array, required)
  - `items` (ref)
    - Reference: `#claim`

## #claim (`com.tynanpurdy.giftlist.getClaims#claim`)

Type: object

### Properties

- `item` (string · at-uri, required)
- `mine` (boolean, required): Whether the caller made this claim.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "claim": {
      "properties": {
        "item": {
          "format": "at-uri",
          "type": "string"
        },
        "mine": {
          "description": "Whether the caller made this claim.",
          "type": "boolean"
        }
      },
      "required": [
        "item",
        "mine"
      ],
      "type": "object"
    },
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "claims": {
              "items": {
                "ref": "#claim",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "claims"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "list": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "list"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Which items on a gift list are taken. Always empty for the list's owner and for anonymous callers; never reveals who claimed what.",
  "id": "com.tynanpurdy.giftlist.getClaims",
  "lexicon": 1
}
```
