v50

latestOpenAPI 3.0.3raw.githubusercontent.com2025-01-2810050281.4 KB
Videos

Get Video Sources

Gets an array of sources (renditions) for a video

get/v1/accounts/{{account_id}}/videos/{{video_id}}/sources

Path parameters

account_idstring required

Video Cloud account ID.

video_idstring required

Video ID (specified as {video_id}}).

Headers

Content-Typestring required

Content-Type: application/json

Authorizationstring required

Authorization: Bearer {access_token} - see Getting Access Tokens

Response

200

app_namestring

address for RTMP stream

asset_idstring

system id for the rendition

codecstring

the video codec for the rendition

containerstring

the video container for the rendition

durationinteger

duration in milliseconds

encoding_rateinteger

encoding rate in bps

heightinteger

frame height in pixels

remoteboolean

whether the source is a remote asset

sizeinteger

file size in bytes

srcstring

URL for HTTP rendition

stream_namestring

the stream name on the CDN

typestring

the type for segmented streams

uploaded_atstring

date/time when the video was uploaded

widthinteger

frame width in pixels