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 fallback and default images

Request

To get a list of all the fallback and default images, send a GET request to:

Bash
https://<host>:<port>/imagemetadata/v1/fallback

Headers

Mandatory arguments

None.

Other arguments

None.

Example

This request gets the list of fallback and default images:

Bash
https://<host>:<port>/imagemetadata/v1/fallback

Response

A successful request returns an HTTP 200 status. The response body contains a results array, with an entry for each content type that has a fallback image, and a count of the entries. Each entry has the following fields:

  • uri – where the image is stored

  • resourceType – the content type that the image is used for (default for the default image)

For example:

JSON
{
  "results": [
    {
      "uri": "image-service/fallback/masters/Movie",
      "resourceType": "Movie"
    },
    {
      "uri": "image-service/fallback/masters/default",
      "resourceType": "default"
    }
  ],
  "count": 2
}

To get one of the images itself, see Getting a fallback or default image.

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 access token is missing or the user does not have the adminRole role.

See also

For full details of this API, see the Image Metadata Service (IMDS) API documentation.