Skip to content

Instantly share code, notes, and snippets.

@paltorg
Created November 21, 2018 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paltorg/707e20a7349e5b738e70330149c8e5fc to your computer and use it in GitHub Desktop.
Save paltorg/707e20a7349e5b738e70330149c8e5fc to your computer and use it in GitHub Desktop.
GET video response
{
"data": {
"user_data": {},
"updated_at": "2018-11-21T08:59:51.737350Z",
"metadata": {
"type": "movie",
"title": {
"rus": {
"content": "Слезы стали"
},
"por": {
"content": "Lágrimas de Aço"
},
"original": {
"language": "eng",
"content": "Tears of Steel"
}
},
"tags": [
"sci-fi",
"robot",
"cyborg",
"blender",
"action"
],
"subtitle": "",
"studio": "Blender Foundation",
"series": {},
"release_date": "2012-09-26",
"regional_content": false,
"ratings": [
{
"country": "usa",
"content": "PG-13"
}
],
"production_year": 2012,
"original_language": "eng",
"metadata_version": "1.0",
"metadata_score": "12%",
"import_type": "manual",
"imdb_url": "https://www.imdb.com/title/tt2285752/",
"genres": [
"Sci-Fi",
"Short"
],
"files": [],
"expected_duration": "00:12:14:00",
"description": {
"eng": {
"content-long": "Thom just wanted to be an astronaut. His girlfriend Celia just wanted to create robots - and for him to not be freaked out by her cyborg hand. How was Thom supposed to know that breaking up with her would make her take out her anger on the rest of humanity using her robots? It seems the only possible way of undoing everything...is to overwrite her memory of what happened 40 years ago."
}
},
"credits": [
{
"role": "actor",
"name": "Derek de Lint"
},
{
"role": "actor",
"name": "Sergio Hasselbaink"
},
{
"role": "actor",
"name": "Rogier Schippers"
},
{
"role": "actor",
"name": "Vanja Rukavina"
},
{
"role": "actor",
"name": "Denise Rebergen"
},
{
"role": "actor",
"name": "Jody Bhe"
},
{
"role": "actor",
"name": "Chris Haley"
}
],
"country_of_origin": [
"nld"
],
"awards_and_recognitions": "",
"aspect_ratio": "16:9"
},
"id": "41101458-bc49-40db-badc-1b480831b79b",
"created_at": "2018-03-15T22:34:32.433479Z",
"assets": [
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://................................/widevine/master_manifest.mpd",
"updated_at": "2018-08-09T06:06:35.849136Z",
"type": "widevine",
"state": "completed",
"metadata": {
"layers": [
{
"width": 480,
"id": "47106242-db7c-42da-b305-095c52ca3d2d",
"height": 270,
"bitrate": 209446.6
},
{
"id": "558d03f6-58c9-472e-80a8-c145c4b98c0a",
"bitrate": 129698.05
},
{
"width": 960,
"id": "286227ae-2800-4243-9c27-c80f1ccfc851",
"height": 540,
"bitrate": 1313827.03
},
{
"width": 480,
"id": "e64565e6-409a-4c80-85a8-da2f789fedb1",
"height": 270,
"bitrate": 337296.59
},
{
"width": 640,
"id": "9466fe8e-ac3c-40cf-9ade-403c9f4298c0",
"height": 360,
"bitrate": 670405.53
},
{
"width": 1280,
"id": "9f0173ef-aa54-4130-9f94-2f9ae71f201d",
"height": 720,
"bitrate": 2681370.99
},
{
"width": 1920,
"id": "7ea0143f-2b86-4066-a825-23d39db5b4bb",
"height": 1080,
"bitrate": 5535016.74
}
],
"duration": 734.083
},
"location": "s3://...................................../widevine/master_manifest.mpd",
"id": "52eaec92-7692-4772-8159-9fddfbabef2a",
"created_at": "2018-08-09T06:06:35.849116Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../thumbnails/d2621394-c6ae-4fcc-914d-6dfc7eb8a674.png",
"upload_info": {
"started": "2018-11-21T08:57:24.000000Z",
"size": 3127595,
"finished": "2018-11-21T08:57:24.000000Z",
"filename": "fine_temp/c7c498ad-eb6f-43c1-ba15-12f016380105.png",
"checksum_size": 3127595,
"checksum": "0cfcbd33ee2c809f7357b905f037be8b"
},
"updated_at": "2018-11-21T08:57:54.406551Z",
"type": "thumbnail",
"state": "completed",
"metadata": {
"width": 1024,
"size": 3127595,
"orientation": "portrait",
"org_url": "https://...................................../c7c498ad-eb6f-43c1-ba15-12f016380105.png",
"image_type": "content",
"height": 1517,
"checksum": "0cfcbd33ee2c809f7357b905f037be8b"
},
"location": "s3://...................................../thumbnails/d2621394-c6ae-4fcc-914d-6dfc7eb8a674.png",
"id": "d2621394-c6ae-4fcc-914d-6dfc7eb8a674",
"created_at": "2018-11-21T08:57:51.574208Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../70194ab4-6b05-4ee1-8a1f-4daa00bee3af.ttml",
"updated_at": "2018-07-23T16:08:51.741150Z",
"type": "subtitles",
"state": "completed",
"metadata": {
"language": "nor",
"format": "http://www.w3.org/ns/ttml"
},
"location": "s3://...................................../70194ab4-6b05-4ee1-8a1f-4daa00bee3af.ttml",
"id": "70194ab4-6b05-4ee1-8a1f-4daa00bee3af",
"created_at": "2018-03-21T18:59:05.296735Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../cd1dbe90-4064-4dae-8e06-3b4d146023c9.ttml",
"updated_at": "2018-07-23T16:12:58.031966Z",
"type": "subtitles",
"state": "completed",
"metadata": {
"language": "spa",
"format": "http://www.w3.org/ns/ttml"
},
"location": "s3://...................................../cd1dbe90-4064-4dae-8e06-3b4d146023c9.ttml",
"id": "cd1dbe90-4064-4dae-8e06-3b4d146023c9",
"created_at": "2018-03-21T20:18:39.553785Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_270p_2.mp4?.....................................",
"updated_at": "2018-03-20T19:30:43.759247Z",
"type": "fmp4",
"state": "completed",
"metadata": {
"width": 480,
"video_framerate": 12,
"video_codec": "h264",
"size": 19218899,
"height": 270,
"format": "iso5",
"duration": 734.083,
"dar": 1.778,
"content_type": "application/octet-stream",
"audio_framerate": 0,
"audio_codec": ""
},
"location": "s3://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_270p_2.mp4",
"id": "47106242-db7c-42da-b305-095c52ca3d2d",
"created_at": "2018-03-20T19:08:01.881762Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_audio.mp4?.....................................",
"updated_at": "2018-07-23T17:20:52.226338Z",
"type": "fmp4",
"state": "completed",
"metadata": {
"width": 0,
"video_framerate": 0,
"video_codec": "",
"size": 11900493,
"language": "eng",
"height": 0,
"format": "iso5",
"duration": 734.043,
"dar": 0,
"content_type": "application/octet-stream",
"audio_framerate": 48000,
"audio_codec": "aac_lc"
},
"location": "s3://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_audio.mp4",
"id": "558d03f6-58c9-472e-80a8-c145c4b98c0a",
"created_at": "2018-03-20T19:08:02.404957Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_540p.mp4?.....................................",
"updated_at": "2018-03-20T19:30:41.685063Z",
"type": "fmp4",
"state": "completed",
"metadata": {
"width": 960,
"video_framerate": 24,
"video_codec": "h264",
"size": 120543630,
"height": 540,
"format": "iso5",
"duration": 734,
"dar": 1.778,
"content_type": "application/octet-stream",
"audio_framerate": 0,
"audio_codec": ""
},
"location": "s3://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_540p.mp4",
"id": "286227ae-2800-4243-9c27-c80f1ccfc851",
"created_at": "2018-03-20T19:08:05.728673Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_270p.mp4?.....................................",
"updated_at": "2018-03-20T19:30:40.544090Z",
"type": "fmp4",
"state": "completed",
"metadata": {
"width": 480,
"video_framerate": 12,
"video_codec": "h264",
"size": 30950462,
"height": 270,
"format": "iso5",
"duration": 734.083,
"dar": 1.778,
"content_type": "application/octet-stream",
"audio_framerate": 0,
"audio_codec": ""
},
"location": "s3://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_270p.mp4",
"id": "e64565e6-409a-4c80-85a8-da2f789fedb1",
"created_at": "2018-03-20T19:08:01.353119Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_360p.mp4?.....................................",
"updated_at": "2018-03-20T19:30:41.092669Z",
"type": "fmp4",
"state": "completed",
"metadata": {
"width": 640,
"video_framerate": 24,
"video_codec": "h264",
"size": 61509707,
"height": 360,
"format": "iso5",
"duration": 734,
"dar": 1.778,
"content_type": "application/octet-stream",
"audio_framerate": 0,
"audio_codec": ""
},
"location": "s3://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_360p.mp4",
"id": "9466fe8e-ac3c-40cf-9ade-403c9f4298c0",
"created_at": "2018-03-20T19:08:00.809547Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_720p.mp4?.....................................",
"updated_at": "2018-03-20T19:30:42.199285Z",
"type": "fmp4",
"state": "completed",
"metadata": {
"width": 1280,
"video_framerate": 24,
"video_codec": "h264",
"size": 246015788,
"height": 720,
"format": "iso5",
"duration": 734,
"dar": 1.778,
"content_type": "application/octet-stream",
"audio_framerate": 0,
"audio_codec": ""
},
"location": "s3://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_720p.mp4",
"id": "9f0173ef-aa54-4130-9f94-2f9ae71f201d",
"created_at": "2018-03-20T19:08:05.070094Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_1080p.mp4?.....................................",
"updated_at": "2018-03-20T19:30:42.723844Z",
"type": "fmp4",
"state": "completed",
"metadata": {
"width": 1920,
"video_framerate": 24,
"video_codec": "h264",
"size": 507837786,
"height": 1080,
"format": "iso5",
"duration": 734,
"dar": 1.778,
"content_type": "application/octet-stream",
"audio_framerate": 0,
"audio_codec": ""
},
"location": "s3://...................................../fmp4/41101458-bc49-40db-badc-1b480831b79b_Layer_1080p.mp4",
"id": "7ea0143f-2b86-4066-a825-23d39db5b4bb",
"created_at": "2018-03-20T19:08:04.276364Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../signed_manifest.mpd?token=.....................................",
"updated_at": "2018-03-20T19:48:40.464188Z",
"type": "dash",
"state": "completed",
"metadata": {
"layers": [
{
"width": 480,
"id": "47106242-db7c-42da-b305-095c52ca3d2d",
"height": 270,
"bitrate": 209446.6
},
{
"id": "558d03f6-58c9-472e-80a8-c145c4b98c0a",
"bitrate": 129698.05
},
{
"width": 960,
"id": "286227ae-2800-4243-9c27-c80f1ccfc851",
"height": 540,
"bitrate": 1313827.03
},
{
"width": 480,
"id": "e64565e6-409a-4c80-85a8-da2f789fedb1",
"height": 270,
"bitrate": 337296.59
},
{
"width": 640,
"id": "9466fe8e-ac3c-40cf-9ade-403c9f4298c0",
"height": 360,
"bitrate": 670405.53
},
{
"width": 1280,
"id": "9f0173ef-aa54-4130-9f94-2f9ae71f201d",
"height": 720,
"bitrate": 2681370.99
},
{
"width": 1920,
"id": "7ea0143f-2b86-4066-a825-23d39db5b4bb",
"height": 1080,
"bitrate": 5535016.74
}
],
"duration": 734.083
},
"location": "s3://...................................../dash/master_manifest.mpd",
"id": "be132343-e9b9-49ca-8022-a579f8da1954",
"created_at": "2018-03-20T19:31:28.072369Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../videos/41/10/41101458-bc49-40db-badc-1b480831b79b/hls/signed_manifest.m3u8?token=.....................................",
"updated_at": "2018-03-20T19:49:15.647278Z",
"type": "hls",
"state": "completed",
"metadata": {
"layers": [
{
"width": 480,
"id": "47106242-db7c-42da-b305-095c52ca3d2d",
"height": 270,
"bitrate": 209446.6
},
{
"id": "558d03f6-58c9-472e-80a8-c145c4b98c0a",
"bitrate": 129698.05
},
{
"width": 960,
"id": "286227ae-2800-4243-9c27-c80f1ccfc851",
"height": 540,
"bitrate": 1313827.03
},
{
"width": 480,
"id": "e64565e6-409a-4c80-85a8-da2f789fedb1",
"height": 270,
"bitrate": 337296.59
},
{
"width": 640,
"id": "9466fe8e-ac3c-40cf-9ade-403c9f4298c0",
"height": 360,
"bitrate": 670405.53
},
{
"width": 1280,
"id": "9f0173ef-aa54-4130-9f94-2f9ae71f201d",
"height": 720,
"bitrate": 2681370.99
},
{
"width": 1920,
"id": "7ea0143f-2b86-4066-a825-23d39db5b4bb",
"height": 1080,
"bitrate": 5535016.74
}
],
"duration": 734.083
},
"location": "s3://...................................../hls/master_manifest.m3u8",
"id": "de15f049-570b-465a-b5e3-96b3b0de4654",
"created_at": "2018-03-20T19:32:09.224649Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../smooth/signed_manifest.ism/manifest?token=.....................................",
"updated_at": "2018-03-20T20:08:12.995477Z",
"type": "smooth",
"state": "completed",
"metadata": null,
"location": "s3://...................................../smooth/manifest.ism",
"id": "560a6ef0-9067-42c6-8e62-0f53f1c8bcdd",
"created_at": "2018-03-20T19:46:29.933076Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../thumbnails/ff679a75-bbc6-4c70-814d-ea97ed8e43cf.jpg",
"updated_at": "2018-03-20T20:49:37.619508Z",
"type": "thumbnail",
"state": "completed",
"metadata": {},
"location": "s3://...................................../thumbnails/ff679a75-bbc6-4c70-814d-ea97ed8e43cf.jpg",
"id": "ff679a75-bbc6-4c70-814d-ea97ed8e43cf",
"created_at": "2018-03-20T20:46:29.108781Z",
"account_id": null
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../41101458bc4940dbbadc1b480831b79b.mov?.....................................",
"updated_at": "2018-10-09T13:01:37.323002Z",
"type": "source",
"state": "uploaded",
"metadata": {
"width": 3840,
"video_framerate": 24,
"video_codec": "h264",
"size": 6737592810,
"height": 1714,
"format": "mp4",
"duration": 734,
"dar": 2.24,
"content_type": "",
"audio_framerate": 44100,
"audio_codec": "aac_lc"
},
"location": "s3://...................................../41101458bc4940dbbadc1b480831b79b.mov",
"id": "44c01dd9-a481-4d36-95de-0155033cc8e2",
"created_at": "2018-03-20T18:45:48.738546Z",
"account_id": "83944a4f-1cb0-4e1b-bb03-70f1afc1d6a8"
},
{
"video_id": "41101458-bc49-40db-badc-1b480831b79b",
"url": "https://...................................../40cf3756-6fda-4270-bb93-c05730d32686.ttml",
"updated_at": "2018-07-23T16:07:53.319285Z",
"type": "subtitles",
"state": "completed",
"metadata": {
"language": "eng",
"format": "http://www.w3.org/ns/ttml"
},
"location": "s3://...................................../40cf3756-6fda-4270-bb93-c05730d32686.ttml",
"id": "40cf3756-6fda-4270-bb93-c05730d32686",
"created_at": "2018-03-21T18:50:58.845768Z",
"account_id": null
}
],
"account_ids": [
".....................................",
".....................................",
".....................................",
".....................................",
".....................................",
".....................................",
".....................................",
".....................................",
".....................................",
".....................................",
".....................................",
".....................................",
"....................................."
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment