Skip to content

videos

Query

Search for videos based on a set of filters.

Response

Returns VideoConnection

Arguments

NameTypeDescription
filterFilterVideoInput!

Filter videos by Fields to filter videos

firstInt!

Returns the first n elements from the list.

Default: 20

afterString

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: [{ field: START_TIME, direction: ASC }, { field: ID, direction: ASC }]

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