OpenTV ENTera & OpenTV Platform Documentation

Get a list of default images and their metadata

Request

To get a list of all default images and their metadata, send a GET request to:

http://<host>:<port>/ihs/v1/metadata/default

Headers

None

Example

This GET request gets a list of all default images and their metadata:

http://<host>:<port>/ihs/v1/metadata/default

Response

If the request is successful, a 200 response is returned with a body that looks like this:

{
    "totalRecords": 2,
    "DefaultImageMetadataList": [
        {
            "name": "d05.jpg",
            "height": 1080,
            "width": 960,
            "uri": "https://d6dohzsg0u5w2.cloudfront.net/DEFAULT_IMAGES/d05.jpg",
            "genre": [
                "Action",
                "Horror"
            ]
        },
        {
            "name": "d06.jpg",
            "height": 1080,
            "width": 960,
            "uri": "https://d6dohzsg0u5w2.cloudfront.net/DEFAULT_IMAGES/d06.jpg",
            "genre": [
                "Action",
                "Horror"
            ]
        }
    ]
}

A bad request returns a 400 response.

See also

For full details of this API, see Get all default images.