# app.zeens.getEventPhotos

> Published by [zeens.app](https://lexicon.garden/identity/did:plc:pwpuqwge6g7xrjmfbw73uycw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getEventPhotos)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getEventPhotos/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getEventPhotos/examples)

## Definitions

### `app.zeens.getEventPhotos`

**Type**: `query`

List photos tagged to an event via app.zeens.eventPhoto, newest-first by addedAt. Each item is hydrated with the underlying post + author profile + engagement so the client can render a card without a per-item round trip. Same shape as getCollectionItems.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `event` | `string` (at-uri) | Yes | AT-URI of the parent app.zeens.event record. |
| `limit` | `integer` | No |  |
| `viewer` | `string` (did) | No |  |

#### Output

**Encoding**: `application/json`

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List photos tagged to an event via app.zeens.eventPhoto, newest-first by addedAt. Each item is hydrated with the underlying post + author profile + engagement so the client can render a card without a per-item round trip. Same shape as getCollectionItems.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "event": {
            "description": "AT-URI of the parent app.zeens.event record.",
            "format": "at-uri",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "viewer": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "event"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.eventPhoto",
      "type": "query"
    }
  },
  "id": "app.zeens.getEventPhotos",
  "lexicon": 1
}
```
