brightcove

Retrive additional tag info in json response


When i use get method on the below bright cove api to retrive video meta data, it generates json response with some fields.

"https://cms.api.brightcove.com/v1/accounts/510000340001/videos?sort=-updated_at&limit=1&offset=0"

How do we get additional tags which are not included, say for example 'category' field in the output json response?

I tried to append below in url and api does not detect.

?custom_field=category

Solution

  • If the video has a value set for that field, it will be present in the custom_fields object as below. If the field is empty, it will not be included for that video.

    {
      "name": "A video",
      ...
      "custom_fields": {
        "category": "something"
      }
    }