Difference between revisions of "GetTopRecommendedContents"
Line 1: | Line 1: | ||
{{Api_Method_Spec| | {{Api_Method_Spec| | ||
Description= | Description= | ||
− | <div style="background-color:red; padding:10px;">GVP 3.0 - DEPRECATED in next versions: This method will be migrated to GetChannelEditorialContents</div> | + | <div style="background-color:red; padding:10px;"> |
+ | GVP 3.0 - DEPRECATED in next versions: This method will be migrated to GetChannelEditorialContents. | ||
+ | |||
+ | '''Since the GVP 3.0 this method will use the GetChannelEditorialContent to return the desired content against broken old legacy devices.''' | ||
+ | </div> | ||
+ | |||
+ | |||
This method will return all the EditorialContents in a CatalogItem format if have GVP_MOVIES, GVP_SUBSCRIPTIONS, etc associated, returning the catalog item ID and Type filled. In case there is not any media type associated, the method will return 0/0 as catalog item id and type; but the other properties fulfilled, i.e. the "external links" as ExtraMetadata and/or the image (banner) linked to the EditorialContent. | This method will return all the EditorialContents in a CatalogItem format if have GVP_MOVIES, GVP_SUBSCRIPTIONS, etc associated, returning the catalog item ID and Type filled. In case there is not any media type associated, the method will return 0/0 as catalog item id and type; but the other properties fulfilled, i.e. the "external links" as ExtraMetadata and/or the image (banner) linked to the EditorialContent. |
Revision as of 20:34, 23 March 2015
Description
GVP 3.0 - DEPRECATED in next versions: This method will be migrated to GetChannelEditorialContents.
Since the GVP 3.0 this method will use the GetChannelEditorialContent to return the desired content against broken old legacy devices.
This method will return all the EditorialContents in a CatalogItem format if have GVP_MOVIES, GVP_SUBSCRIPTIONS, etc associated, returning the catalog item ID and Type filled. In case there is not any media type associated, the method will return 0/0 as catalog item id and type; but the other properties fulfilled, i.e. the "external links" as ExtraMetadata and/or the image (banner) linked to the EditorialContent.
Images will contain the images associated to the MediaType that is associated to the EditorialContent. In case we have more than one image (banner) linked to the EditorialContent, we will just take the first one (lowest ID) to fulfill the ImageUrl property.
Return the top recommended from a channel (Editorial content from 1-10)
Parameters
- token (String, required)
- A valid token for identifying the API session context. The token can be anonymous or logged.
- offset (int, optional)
- The offset number of the returned values for this request
- limit (int, optional)
- The limit number of values for this request
- channelId (int, required)
- Id of a channel that wants the result
- adultFilter (AdultFilterType, optional)
- Type to filter the result using adult filter
Returns
Returns a JSON object containing an array of CatalogItem object.
Example:
{
- "Offset": 0,
- "Limit": 100,
- "Count": 10,
- "List":
- [ Array of CatalogItem objects ]
}
Exceptions
- None
Caching
This method is cached.
Known issues
- None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial method design | Harley Cabral |