# MP4 Download
API call format
GET /broker/vod/list/<source_guid>
{
"width": <width_size>,
"height": <height_size>,
"bandwidth":<bandwidth>
}
Description
Get mp4 file endpoint. This call downloads binary content of a video file.
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 list of all thumb's url's are returned.
- On failure an error will be returned with the right error code and description.
Example:
[Request] GET https://<base_api_url>/broker/vod/mp4/<source_guid>
{
"width": 640
"height": 360
}
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","Authorization":"<IdToken>"}
[Response] 200
[Response Headers] {"Content-Type":["video/mp4"],"Content-Length":["..."],"Connection":["keep-alive"],"Date":["..... GMT"],"x-amzn-RequestId":["....."],....]}
[Response] {<binary_data>}