Auxiliary EDS APIs
There are several Entertainment Discovery Services (EDS) APIs that don’t directly provide information about content, but give general information about how to use the service or help drive common UI models.Auxiliary APIs
API Parameter Values
This API describes parameters that can be used with the service. The returned information is usable by the client UI because localized text accompanies each parameter. None of the APIs below accept any query parameters. | API| URI| Description| | --- | --- | --- | --- | --- | --- | | Types| //metadata/mediaGroups| The full list of media groups| | Media item types per Media group| //metadata/mediaGroups//mediaItemTypes| The list of media item types contained within the given media group.| | All Media item types| //metadata/mediaItemTypes| The full list of media item types| | Fields per Media item type| //metadata/mediaItemTypes//fields| The list of fields in a single media item type| | Query Refiners| //metadata/mediaItemTypes//queryRefiners| The list of query refiners supported for the given media item type| | All Query Refiner Values| //metadata/mediaItemTypes//queryRefiners/| The values for the specified query refiner for the given media item type| | All Query Refiner Sub-Values| //metadata/mediaItemTypes//queryRefiners//subQueryRefinerValues| The list of sub-values for a given query refiner value (e.g. “subgenres in a given genre”). The query refiner value is passed in as a query string parameter named “queryRefinerValue”, which is done to allow query refiner values with characters forbidden in URI stems to be passed.| | Sorts| //metadata/mediaItemTypes//sortOrders| The list of sort orders for the given media item type|Combined Content Rating Generator
Enforcing parental controls over the content children are allowed to see is a complicated task. Not only does each media item type have its own rating system, but those rating systems can vary from country/region to country/region. This means that there are several different pieces of data that need to be specified to properly filter all items. Instead of specifying all of the parameters in all API calls, this API generates a value to pass into combinedContentRating parameters in other APIs and still communicate the same information. This is designed to make the APIs easier to use and maintain, as the several parameters passed into this API are collapsed into a single, reusable value for the other APIs. Although the exact values returned by this API may eventually change, they should change very infrequently (such as between releases of EDS) and thus could be cached for long periods of time. Any API accepting a combinedContentRating parameter will give a meaningful error message if the value passed in is invalid, which is an indication the caller merely needs to call this API again to get an updated value. If an API accepts a combinedContentRating parameter, but one isn’t provided, no filtering of content will take place based on parental controlsNote:
This doesn’t mean that only “safe” content is returned—it means that all content is returned, including potentially explicit content).
Combined Field Name
The EDS APIs, by default, return a very small minimum set of fields for each item:- Media item type
- Media group
- Id
- Name
