GetTopRecommendedContents

From Gvp-public
Revision as of 20:13, 23 March 2015 by Rcalvo (talk | contribs) (Created page with "{{Api_Method_Spec| Description= <div style="background-color:red; padding:10px;">GVP 3.0 - DEPRECATED in next versions: This method will be migrated to GetChannelEditorialCont...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

GVP 3.0 - DEPRECATED in next versions: This method will be migrated to GetChannelEditorialContents

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 as in:


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
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


See also