# app.zeens.getEventComments

> 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.getEventComments)
- [Documentation](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getEventComments/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getEventComments/examples)

## Definitions

### `app.zeens.getEventComments`

**Type**: `query`

List comments on an event via app.zeens.eventComment, newest-first by createdAt. Returns a flat list (each carrying its optional parent ref) so the client can thread organiser replies. Each comment is hydrated with the author's profile and its own like_count + the viewer's like state.

#### 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 | Viewer DID, used to report viewer.like per comment. |

#### Output

**Encoding**: `application/json`

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List comments on an event via app.zeens.eventComment, newest-first by createdAt. Returns a flat list (each carrying its optional parent ref) so the client can thread organiser replies. Each comment is hydrated with the author's profile and its own like_count + the viewer's like state.",
      "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": {
            "description": "Viewer DID, used to report viewer.like per comment.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "event"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.eventComment",
      "type": "query"
    }
  },
  "id": "app.zeens.getEventComments",
  "lexicon": 1
}
```
