OpenTV ENTera & OpenTV Platform Documentation
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2
26.26_Q2 25.52_Q4 25.26_Q2 25.12_Q1 24.50_Q4 24.38_Q3 24.26_Q2 23.50_Q4 23.24_Q2 23.12_Q1 22.50_Q4 22.38_Q3 22.24_Q2

Updating a cue point profile

Request

To update a cue point profile, send a PUT request to:

Bash
https://<host>:<port>/config/csCueProfiles/{id}

Headers

Mandatory arguments

  • id (in URL) – the ID of the profile (its csCueProfileId)

  • csCueProfileEnabled (in body) – whether the profile is enabled (true or false). Always include this field, even if you are not changing it. If you leave it out, the profile is disabled.

Other arguments

In the request body, include the other fields that you want to change. They are the same as when you create a profile – see Creating a cue point profile.

The fields that you include replace the existing values. If you include csCueList, it replaces the whole list of cue points.

You cannot change csCueProfileId.

Example

A request with this payload changes the recap in the profile to 90 seconds and removes the end credits cue point:

JSON
{
  "csCueProfileEnabled": true,
  "csCueList": [
    {
      "name": "recapEnd",
      "type": "recap",
      "description": "End of the recap of the previous episode",
      "timeOffset": 90000
    }
  ]
}

Response

A successful request returns an HTTP 200 status. The response body contains the ID of the profile.

An unauthorised request returns an HTTP 401 status – for example, if the access token is invalid or has expired.

A forbidden request returns an HTTP 403 status – for example, if the request has no access token, or the user does not have the operatorRole role.

If the profile does not exist, or the request tries to change csCueProfileId, the request returns an HTTP 500 status.

Changes to a profile apply to all the content that uses it.

See also

For full details of this API, see the config-manager API documentation.