# place.stream.vod.getComments

> Published by [did:web:stream.place](https://lexicon.garden/identity/did:web:stream.place)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.vod.getComments)
- [Documentation](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.vod.getComments/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.vod.getComments/examples)

## Definitions

### `place.stream.vod.getComments`

**Type**: `query`

Get comments for a place.stream.video record.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum number of comments to return. |
| `video` | `string` (at-uri) | Yes | AT-URI of the place.stream.video record. |
| `cursor` | `string` | No | Optional pagination cursor. |

#### Output

**Encoding**: `application/json`

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

## Raw Schema

```json
{
  "id": "place.stream.vod.getComments",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "comments"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "comments": {
              "type": "array",
              "items": {
                "ref": "place.stream.vod.defs#commentView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "video"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of comments to return."
          },
          "video": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the place.stream.video record."
          },
          "cursor": {
            "type": "string",
            "description": "Optional pagination cursor."
          }
        }
      },
      "description": "Get comments for a place.stream.video record."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
