# Dash Details
API call format
GET /broker/vod/list/<source_guid>/dash/{<dash_playlist_media_type>}
Description
Get Dash variants by GUID. This call gets concrete DASH format by specifying it's media type.
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 .
- <dash_playlist_media_type> - Take mediaType for a specific variant using Dash Variants API call.
Postcondition
- On success response code should be 200
- On success the whole JSON body of the specified DASH encoded format 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>/dash/dash_playlist_720_2500000`
[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": {
"destBucket": "<destinationbucket>",
"mediaType": "dash_playlist_720_2500000",
"segmentsInfo": {
"mediaTypeKey": "dash_playlist_720_2500000_",
"segmentsCount": 43
},
"endList": true,
"cdnUrl": "https://<server>/sources/<source_guid>/dash/<dashName>_720pinit.mp4",
"filePath": "<source_guid>/dash/<dashName>_720pinit.mp4",
"mediaSequence": 1,
"guid": "<source_guid>",
"programId": 1,
"bitRate": 2500000,
"width": 1280,
"height": 720,
"targetDuration": 30.03,
"codecs": "avc1.640028",
"timeline": 0
}
}
We shall keep a variant mediaTypeKey from segmentsInfo for the next API calls.