# Edit VOD Meta Data
API call format
PUT /broker/vod/list/{guid} //Use token autorization
PUT /broker/private/vod/list/{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):
- <meta_data> - valid meta data set in the expected format.
Postcondition
- On success response code should be 200
- On success the following JSON data is expected:
{
"status": true,
"data": "Source was updated successfully"
}
- On failure an error will be returned with the right error code and description.
Example:
[Request] PUT https://<base_api_url>/broker/vod/meta
[Request] PUT https://<base_api_url>/broker/private/vod/meta
{
"description": "<new_description>",
"type": "source",
"title": "<new_title>"
}
[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": "Source was updated successfully"
}