# ai.newnal.illi.artwork.listFamilyWorks

> Device-local daily recommendation membership/order snapshot. Stored version introductions are reused; a missing sentence may fill on a later read. An explicit snapshotId retains that device's published history across midnight.

- Kind: query
- Authority: artwork.illi.newnal.ai
- Lexicon: 1
- Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.artwork.listFamilyWorks)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.artwork.listFamilyWorks/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.artwork.listFamilyWorks/analytics)

## Query (`ai.newnal.illi.artwork.listFamilyWorks`)

Type: query · GET

### Parameters (query string)

- `homeId` (string · tid, required)
- `snapshotId` (string)
  - Constraints: minLength: 1, maxLength: 64

### Output (application/json)

- `cards` (array, required)
  - `items` (ref)
    - Reference: `ai.newnal.illi.artwork.defs#familyWorkCard`
- `localDate` (string, required)
- `snapshotId` (string, required)
  - Constraints: minLength: 1, maxLength: 64
- `timezone` (string, required)

### Errors

- `NotDevice`: No description in schema.
- `NotMember`: No description in schema.
- `ArtworkNotFound`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Device-local daily recommendation membership/order snapshot. Stored version introductions are reused; a missing sentence may fill on a later read. An explicit snapshotId retains that device's published history across midnight.",
      "errors": [
        {
          "name": "NotDevice"
        },
        {
          "name": "NotMember"
        },
        {
          "name": "ArtworkNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cards": {
              "items": {
                "ref": "ai.newnal.illi.artwork.defs#familyWorkCard",
                "type": "ref"
              },
              "type": "array"
            },
            "localDate": {
              "type": "string"
            },
            "snapshotId": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            "timezone": {
              "type": "string"
            }
          },
          "required": [
            "snapshotId",
            "localDate",
            "timezone",
            "cards"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "homeId": {
            "format": "tid",
            "type": "string"
          },
          "snapshotId": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "homeId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.artwork.listFamilyWorks",
  "lexicon": 1
}
```
