videos
Query
Search for videos based on a set of filters.
Response
Returns VideoConnection
Arguments
| Name | Type | Description |
|---|---|---|
filter | FilterVideoInput! | Filter videos by Fields to filter videos |
first | Int! | Returns the first n elements from the list. Default: |
after | String | Returns the elements in the list that come after the specified cursor. |
sort | [VideosSort!]! | The field and direction by which to sort the results Default: |
Example
query videos( $filter: FilterVideoInput!, $first: Int!, $after: String, $sort: [VideosSort!]!) { videos( filter: $filter, first: $first, after: $after, sort: $sort ) { pageInfo { hasNextPage hasPreviousPage startCursor endCursor } edges { node { id startTime endTime cloudAvailable url thumbnailUrl displayName resolutionHeight resolutionWidth frameRate } cursor } totalCount }}{ "filter": { "startTime": {} }, "first": 20, "sort": [ { "field": "START_TIME", "direction": "ASC" }, { "field": "ID", "direction": "ASC" } ]}{ "data": { "videos": { "pageInfo": { "hasNextPage": false, "hasPreviousPage": true, "startCursor": "startCursor-867d", "endCursor": "endCursor-f100" }, "edges": [ { "node": { "id": "f8bac42b-3c2d-8091-bb6a-f5aeaa45f850", "startTime": "2025-01-01T00:00:00.000Z", "endTime": "2025-01-01T00:00:00.000Z", "cloudAvailable": true, "url": "url-4cc8", "thumbnailUrl": "thumbnailUrl-d8b7", "displayName": "displayName-359f", "resolutionHeight": "resolutionHeight-066e", "resolutionWidth": "resolutionWidth-62f0", "frameRate": 453.14 }, "cursor": "cursor-d7f5" } ], "totalCount": 934 } }}