Get videos for an account
GET /accounts/:account_id/[brightcove_integrations|youtube_integrations]/:integration_id/videos/
limit
: number of videos to return
page
: 1-based page number
video_ids=1,2,3
: comma seperated list of video ids
{ "videos" : [
{
"video_id" : " v123" ,
"integration_type" : " brightcove" ,
"integration_id" : " 1234" ,
"title" : " sample" ,
"duration" : 10 ,
"publish_date" : " 2013-01-01" ,
"status" : " in_progress" ,
"current_thumbnail_id" : " 1234"
"thumbnails" : [
{
"url" : " http://thumb1" ,
"created" : " 2013-01-01" ,
"enabled" : " 2013-01-01" ,
"width" : 480 ,
"height" : 360 ,
"type" : " neon1"
},
{
...
}
]
},
{
...
}]
}
options for integration_type
are brightcove
and youtube
duration is in minutes
options for status
are in_progress
, finished
, and failed
options for type
are neon-n (e.g. neon1, neon2...), brightcove, youtube
GET /accounts/:account_id/[brightcove_integrations|youtube_integrations]/:integration_id/videos/:video_id
{
"video_id" : " v123" ,
"integration_type" : " brightcove" ,
"integration_id" : " 1234" ,
"title" : " sample" ,
"duration" : 10 ,
"publish_date" : " 2013-01-01" ,
"status" : " in_progress" ,
"current_thumbnail_id" : " 1234"
"thumbnails" : [
{
"thumbnail_id" : " 1234"
"url" : " http://thumb1" ,
"created" : " 2013-01-01" ,
"enabled" : " 2013-01-01" ,
"width" : 480 ,
"height" : 360 ,
"type" : " neon1"
},
{
...
}
]
}
Update thumbnail for a video
PUT or PATCH [brightcove_integrations|youtube_integrations]/:integration_id/videos/:video_id