# place.stream.media.getVideoList

> 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.

- Kind: query
- Authority: media.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.media.getVideoList)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.media.getVideoList/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.media.getVideoList/analytics)

## Query (`place.stream.media.getVideoList`)

Type: query · GET

### Parameters (query string)

- `cursor` (string): Pagination cursor from a previous response.
- `limit` (integer): Maximum number of videos to return.
  - Constraints: minimum: 1, maximum: 100, default: 25
- `repo` (string): DID or handle of the repo whose videos to list. Omit to list videos globally across all repos.

### Output (application/json)

- `cursor` (string): Pagination cursor for the next page, if any.
- `videos` (array, required)
  - `items` (ref)
    - Reference: `place.stream.media.getVideo#videoView`

### Errors

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

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "errors": [
        {
          "description": "No repo indexed at the supplied DID.",
          "name": "RepoNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Pagination cursor for the next page, if any.",
              "type": "string"
            },
            "videos": {
              "items": {
                "ref": "place.stream.media.getVideo#videoView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "videos"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor from a previous response.",
            "type": "string"
          },
          "limit": {
            "default": 25,
            "description": "Maximum number of videos to return.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "repo": {
            "description": "DID or handle of the repo whose videos to list. Omit to list videos globally across all repos.",
            "type": "string"
          }
        },
        "required": [],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "place.stream.media.getVideoList",
  "lexicon": 1
}
```
