Media Card - Series
Retrieving Media Card information for a series.
Request
To retrieve the Media Card information for a series, send a GET request to:
https://<host>:<port>/metadata/v1/series/{id}/mediacard
Headers
Cache-Control
– Caching rules for clients and web proxiesContent-Encoding
- The compression level of the response
Mandatory arguments
id
- The identifier of the content the mediacard concerns.
Other arguments
All these arguments are query parameters:
fields
- A list of field names to return in the response.deviceType
- The type of the device making the query (e.g. Android) to filter out irrelevant results.Accept-Language
- The language (locale) of the response data.
Response
A successful request returns an HTTP 200 status.
A bad request returns an HTTP 400 status.
An unsuccessful request returns an HTTP 401 status.
The number of seasons presented as part of the series response (for example, the latest two seasons), and the number of episodes presented in each season (for example, the latest episode per season), are set in the backend configuration.
The recommendations portion of the response is driven by a related recommendation based on the content; certain parts of the response are turned on or off through backend configuration.
Example
See also
For full details of this API, see Content Discovery Facade API documentation.