# Download VOD Files

API call format

GET /broker/vod/download/{guid}		        //Use token autorization
GET /broker/private/vod/download/{guid}		//Use Api Key

Description

This call Edit VOD meta data by given source guid.

Precondition:

  • Authorization token/Api key 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 the following JSON data is expected:
{
  "status": true,
  "data": {
    "downloadLink": "https://<server>/....."
  }
}
  • On failure an error will be returned with the right error code and description.

Example:

[Request] GET /broker/vod/download/{guid}               //use GET /broker/vod/list to find a specific guid
[Request] GET /broker/private/vod/download/{guid}       //use GET /broker/vod/list to find a specific guid
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","Authorization":"<IdToken>"} //Use token autorization
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","X-Api-Key":"<api_key>"}     //Use Api Key

[Response] 200
[Response Headers] {"Content-Type":"application/json","Content-Length":["48"],"Connection":["keep-alive"],...}
[Response] 
{
  "status": true,
  "data": {
    "downloadLink": "https://<server>/....."
  }
}