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

Getting all cue point profiles

Request

To get all cue point profiles, send a GET request to:

Bash
https://<host>:<port>/config/csCueProfiles

Headers

Mandatory arguments

None.

Other arguments

All these arguments are query parameters:

  • fq – a filter, in the form <field>:<operator>:<value>. You can combine filters with AND . You can filter on:

    • csCueProfileId and csCueProfileName – using the operators equals, nequals, startswith, nstartswith, endswith, nendswith, contains, and ncontains. (contains and ncontains are not case-sensitive.)

    • csCueProfileEnabled – in the form csCueProfileEnabled:true or csCueProfileEnabled:false

  • sort – the field to sort by: csCueProfileId, csCueProfileName, or csCueProfileDesc. Add a - before the field name to sort in descending order.

  • page – the page number (starting from 1)

  • limit – the number of profiles per page (up to 1000)

If you use page or limit, you must specify both.

Example

This request gets the first 20 enabled profiles whose names contain "drama", sorted by name:

Bash
https://<host>:<port>/config/csCueProfiles?fq=csCueProfileName:contains:drama AND csCueProfileEnabled:true&sort=csCueProfileName&page=1&limit=20

Response

A successful request returns an HTTP 200 status. The response body contains the total number of matching profiles and the profiles themselves, for example:

JSON
{
  "totalRecords": 1,
  "csCueProfileSet": [
    {
      "csCueProfileId": "drama-60s-recap",
      "csCueProfileName": "Drama – 60-second recap",
      "csCueProfileEnabled": true,
      "csCueProfileDesc": "For drama series with a 60-second recap and two minutes of end credits",
      "csCueList": [ ... ]
    }
  ]
}

A bad request returns an HTTP 400 status – for example, if a filter or sort field is invalid, or if you specify only one of page and limit.

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.

See also

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