# VOD Metadata
API call format
GET /broker/vod/list/{<source_guid>}/info
Description
Get single source by GUID. This call gets video source related information specifying source GUID.
Precondition:
- No authorization token is needed.
- Mandatory elements (should be specified):
- <source_guid> - valid source guid. Take a specific source guid using Vod list API call.
Postcondition
- On success response code should be 200
- On success a JSON body of video source is returned..
- On failure an error will be returned with the right error code and description.
Example:
[Request] GET https://<base_api_url>/broker/vod/list/<source_guid>/info
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","Authorization":"<IdToken>"}
[Response] 200
[Response Headers] {"Content-Type":["application/json"],"Content-Length":["..."],"Connection":["keep-alive"],"Date":["..... GMT"],"x-amzn-RequestId":["....."],....]}
[Response]
{
"status": true,
"data": {
"guid": "<source_guid>",
"mediaType": "source",
"meta": {
"genre": "Cartoons",
"description": "Moonbeam.City.S01E07.Cop.Con",
"type": "source",
"title": "Moonbeam.City.Cop.Con",
"imageUrl": "https://<server>/sources/<source_guid>/thumbnails/<hls_name>_abr_tumb.0000181.jpg"
},
"srcDuration": 1281300,
"frameCapture": true,
"srcVideo": "<hls_name>.mp4",
"status": "complete",
"createdAt": 1560953881000,
"encodedAt": 1560955145000,
"hlsUrl": "https://<server>/sources/<source_guid>/hls/<hls_name>.m3u8",
"dashUrl": "https://<server>/sources/<source_guid>/dash/<hls_name>.mpd",
"mp4Outputs": [
"https://<server>/sources/<source_guid>/mp4/<hls_name>_720p.mp4",
"https://<server>/sources/<source_guid>/mp4/<hls_name>_360p.mp4"
],
"adPoints": [
0,
6006,
12012,
...
1279278
]
}