# Store VOD Meta Data

API call format

POST /broker/vod/meta               //Use token autorization
POST /broker/private/vod/meta       //Use Api Key

Description

This call creates new meta data .

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": "Item was created successfully",
	"guid": "<guid>"
 }
  • On failure an error will be returned with the right error code and description.

Example:

[Request] POST https://<base_api_url>/broker/vod/meta
[Request] POST https://<base_api_url>/broker/private/vod/meta
{
  "meta": {
    "additionalProp1": "string",
    "additionalProp2": "string",
    "additionalProp3": "string"
  }
}
[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": "Item was created successfully",
	"guid": "<guid>"
}