Changes

Jump to navigation Jump to search
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.
'''Since the GVP 3.0 this method will use the GetChannelEditorialContent to return the desired content against broken old legacy devices.'''
</div>
'''Workaround / special error code:'''
Has been detected If a user requests Editorial Recommendation and Open GVP is not connected or fails (we have a fallback in UNIAPI for this), we will look into the EditorialContents associated with the Channel that sometimes it’s impossible to provide recommendations using OpenGVPhave GVP_MOVIES associated. These situations are:
• Trying to get recommendations for a only series channel
• Trying to get recommendations for a just created userOnly movies with availability (Except Episodes, episodes are not present yet in opengvp data.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>
|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