Changes

Jump to navigation Jump to search
1,124 bytes added ,  20:34, 23 March 2015
no edit summary
{{Api_Method_Spec|
Description=<div style="background-color:red; padding:10px;">GVP 3.0 - DEPRECATED in next versions: This is an equivalent call to the ‘classic’ one in UNIAPI, it method will be used by GVP when receiving a GetUserRecommendations request from a ‘legacy’ device. One important feature for this call is that it works with a reduced overall content set, restricted migrated to the items that are available in all devices calling this backwards-compatible API (because old-style devices forbid showing items that cannot be played on the device)GetChannelEditorialContents.
'''Workaround / special error code:Since the GVP 3.0 this method will use the GetChannelEditorialContent to return the desired content against broken old legacy devices.'''</div>
Has been detected that sometimes it’s impossible to provide recommendations using OpenGVP. These situations are:
• Trying to get recommendations for a only series channel• Trying to get recommendations for If a just created user, requests Editorial Recommendation and Open GVP is not present yet connected or fails (we have a fallback in opengvp dataUNIAPI for this), we will look into the EditorialContents associated with the Channel that have GVP_MOVIES associated.
 Only movies with availability (Except Episodes, episodes are not returned) <span style="text-decoration:line-through">This is an equivalent call to the ‘classic’ one in UNIAPI, it will be used by GVP when receiving a GetUserRecommendations request from a ‘legacy’ device. One important feature for this call is that it works with a reduced overall content set, restricted to the items that are available in all devices calling this backwards-compatible API (because old-style devices forbid showing items that cannot be played on the device).</span>  <span style="text-decoration:line-through">'''Workaround / special error code:''' <span style="text-decoration:line-through">Has been detected that sometimes it’s impossible to provide recommendations using OpenGVP. These situations are: • <span style="text-decoration:line-through">Trying to get recommendations for a only series channel • <span style="text-decoration:line-through">Trying to get recommendations for a just created user, not present yet in opengvp data. <span style="text-decoration:line-through">In these situations this operation will return a status code 3 (method unavailable). When this method is called through UNIAPI proxy call, this error code should be interpreted by LabOne as using old recommendation method logic to provide recommendations to caller. In other words, when status code 3 is returned by this method, UNIAPI getUserRecommendations method should have the same behavior that before (pre OpenGVP).</span>
|ParamType= int
|ParamRequired=required
|ParamDescription=Quantity of MostView type wants to be returned.
}}
{{Api_Parameter|
|ParamType= int
|ParamRequired=required
|ParamDescription=Quantity of BestRated type wants to be returned.
}}
{{Api_Parameter|
|ParamType= int
|ParamRequired=required
|ParamDescription=Quantity of PersonalUser type wants to be returned.
}}
{{Api_Parameter|
|ParamType= int
|ParamRequired=required
|ParamDescription=Quantity of Editorial type wants to be returned.
}}
{{Api_Parameter|
|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.
::: }
:: ]
|SeeAlso=
* [[GetChannelEditorialContents]]
* [[EditorialContent]]
 
* [[GetNodeRecommendations]]
* [[GetRootRecommendationsByView]]
* [[GetUserRecommendations]]
}}
editor
725

edits

Navigation menu