# Edit VOD Metadata
API call format
PUT /broker/vod/list/{<source_guid>}
{
"imageUrl": "<image_url>",
"genre": "<genre>",
"description": "string",
"type": "<vod_type>", // mandatory
"title": "<vod_title>", // mandatory
"group": "<vod_group>"
}
Description
This call updates meta-data of existing source by specifying it's source GUID.
Precondition:
- Authorization token is needed.
- Mandatory elements (should be specified):
- Mandatory elements (should be specified):
- <source_guid> - valid source guid. Take a specific source guid using Vod list API call.
- type - valid VOD type.
- title - VOD title.
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/list/<source_guid>
{
"title": "<new_title>",
"description": "<new_description>",
"type": "<new_type>",
}
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","Authorization":"<IdToken>"}
[Response] 200
[Response Headers] {"Content-Type":"application/json","Content-Length":["48"],"Connection":["keep-alive"],...}
[Response]
{
"status": true,
"data": "Source was updated successfully."
}