Retrieving Media Card information for a VOD content item.
Request
To retrieve the Media Card information for a VOD content item, send a GET request to:
https://<host>:<port>/metadata/v1/vod/{id}/mediacard
Headers
-
Cache-Control– Caching rules for clients and web proxies -
Content-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 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.