# place.stream.media.getVideoList

> 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.media.getVideoList)
- [Documentation](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.media.getVideoList/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.media.getVideoList/examples)

## Definitions

### `place.stream.media.getVideoList`

**Type**: `query`

List videos newest first. Scoped to a single repo when `repo` is supplied; otherwise lists videos across every indexed repo. Returns hydrated video views with author info and view counts.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `repo` | `string` | No | DID or handle of the repo whose videos to list. Omit to list videos globally across all repos. |
| `limit` | `integer` | No | Maximum number of videos to return. |
| `cursor` | `string` | No | Pagination cursor from a previous response. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Pagination cursor for the next page, if any. |
| `videos` | `array` | Yes |  |

#### Errors

- **RepoNotFound**: No repo indexed at the supplied DID.

## Raw Schema

```json
{
  "id": "place.stream.media.getVideoList",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "RepoNotFound",
          "description": "No repo indexed at the supplied DID."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "videos"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "description": "Pagination cursor for the next page, if any."
            },
            "videos": {
              "type": "array",
              "items": {
                "ref": "place.stream.media.getVideo#videoView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "repo": {
            "type": "string",
            "description": "DID or handle of the repo whose videos to list. Omit to list videos globally across all repos."
          },
          "limit": {
            "type": "integer",
            "default": 25,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of videos to return."
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor from a previous response."
          }
        }
      },
      "description": "List videos newest first. Scoped to a single repo when `repo` is supplied; otherwise lists videos across every indexed repo. Returns hydrated video views with author info and view counts."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
