Get all Videos
This API gets all the videos of a project for the logged in user.
Endpoint
Headers
The JWT Access token should be passed in the authorization header for all APIs.
Header | Value |
---|---|
Authorization | JWT token. |
Response Body
{
"status_code": "A0000",
"status_message": "success",
"count": 5,
"results": [
{
"status_code": "A3102",
"status_message": "Video validation and harmonization in progress",
"key": "vid-01hpr7958wq1v97r58n8m0jrfd",
"name": "My video name",
"ext_video_id": "596afghhhxx",
"project_key": "prj-01hpr6t70xedtepht8b196krsy",
"subtitles": [
{
"key": "sub-01xcv6t70xedtepht8b196krfg",
"kind": "captions",
"default": false,
"language": "English",
"status_code": "A3112",
"status_message": "Subtitle file uploaded successfully"
}
]
"cast": [
{
"name": "Mark",
"role": "Actor"
},
{
"name": "Susan",
"role": "Actress"
}
],
"poster": {
"url": "https://media.devtest.indee.tv/2582/2582_poster_1908335069.jpg?Expires=1708433103&Signature=SLya1ftOiEMsr1-3Ud5t3ufOcTORgU0aLMZoRxUb1TpjMKcPYQJXlrXSt8DgpLo87HjKtvkOY6kw5sylAjUY5P~hMbvr7S5Ow9Wog3Il2fzOZVVbYv8kKrkD8RUjKmPYL1k0e8D0M~npByY~hQq0RxmSyfEi~bNuOSn~jjr7BbU4pvp58Kp4EOv4iJxjYseSF~Ft8bpbNONpSeehRNRLTfL19YYOp5xwXkqcp2~LnfoKyQ9nyWktsDqXF29rnQUgV0D83VucpvE-fp-CAsPZzxuy0qskaq-o2qdB1ikJ3ruWf8vmAvXi8BDM8iSRmxTh3nwkVIlC3e3L15fDeoK4pw__&Key-Pair-Id=K2NTQVU4FZL5P0",
"status_code": "A3133",
"status_message": "Video poster added successfully"
},
"audio_tracks": [
{
"key": "aud-01fwzm9p60wsf5t4s3tye8r42a",
"track_name": "ISO Media file produced by Googl",
"file_name": "audio-source-0.aac",
"default": true,
"status_code": "A3122",
"status_message": "Audio file uploaded successfully"
}
],
"description": "some text",
"season": 1,
"episode": 1,
"rough_cut": false,
"notes": "notes about the video",
"original_air_date": **date - This should be in EPOCH format**,
},
],
"previous": "api url to previous page",
"next": "api url to next page",
}
Parameter | Type | Description |
---|---|---|
status_code |
String | Indee provided status code. |
status_message |
String | The message associated with the status code. |
count |
String | Number of results per page. |
ext_video_id |
String | A customer provided unique ID for the video. |
name |
String | A video name |
description |
String | The description of the video. |
project_key |
String | The project to which the video is added. |
season |
int | Season number to which the video belongs. |
episode |
int | Episode number to which the video belongs. |
poster |
dict | A dictionary containing URL and status for the video poster . |
cast |
Array | A collection of asset pair of role and name. |
original_air_date |
Date | The first time the episode was aired, it will be in epoch format. |
rough_cut |
Boolean | True / False if the video is a rough cut video. |
notes |
String | Notes on video. |
subtitles |
Array | Subtitles for the video. |
key (subtitles) |
String | Unique key ID of the audio track. |
default (subtitles) |
Boolean | Specifies if the subtitle is set as the default subtitle during playback. If more than one subtitle is set as default, an error code of A4114 will be reported. |
language |
String | Language of the subtitle. |
audio_tracks |
Array | Audio tracks for the video. |
key (audio tracks) |
String | Unique key ID of the audio track. |
track_name |
String | Name of the track. |
file_name |
String | Name of the file. |
default (audio tracks) |
Boolean | Specifies if the particular track is set as the default track during playback. If more than one track is set as default, an error code of A4124 will be reported. |
Error Codes
Indee provides a comprehensive list of Error Codes. To know more, see Common Error and Success Codes.