Changes

Jump to navigation Jump to search
no edit summary
All kinds of recommendation are combined in the same result with a SOURCE parameter added in the result.
SOURCES available: 1 - MostViewed, 2 - BestRated, 3 - Personal and 4 - Editorial.
This method is similar to GetRootRecommendationsByView but in the same ViewSet.
- [[GetNodeRecommendations]]
- [[GetNodeRecommendationsByViewGetRootRecommendationsByView]]
- [[GetNodeRecommendationsCombinedGetRootRecommendationsCombined]]
And the legacy method:
|ParamType=int
|ParamRequired=optional
|ParamDescription=Number that indicates the content type of the recommendation 0 - Any: It returns both Movie and Series 1 - Movie: Used for movies 2 - Series: Used for TV series  
}}
{{Api_Parameter|
|ParamType=int
|ParamRequired=optional
|ParamDescription=CatalogType: Number that indicates the sub-catalog to retrieve recommendations from (Subscrition or transactional) 0 - Any: Transactional or subscription (hired by the user). Default for getNodeRecommendations and GetFullView 1 - Subscription: Contents from subscriptions rented by the user (and inside the subscription sub-catalog). Default for GetRotRecommendationsCombined and GetRootREcommendationsByView 2 - Transactional: Contents from transactional sub-catalog
}}
|Returns=
Returns a JSON object containing a JSON with the personal recommendation as [[SimpleItem]].
'''Example:'''
:: <span style="color: #a11;">"ItemList"</span>: [
::: {
:::: Array of [[SimpleItem]] (OpenGVP Type) objects + Source properties.
::: }
:: ]
Bureaucrats, editor
349

edits

Navigation menu