Changes

Jump to navigation Jump to search
1,946 bytes added ,  21:00, 21 August 2014
Created page with "{{Api_Method_Spec| Description=Get a Recommendation from the GVP Platform using many data information to get a personal content to present for the user. This method was create..."
{{Api_Method_Spec|
Description=Get a Recommendation from the GVP Platform using many data information to get a personal content to present for the user. This method was created to analyse all content in the GVP and find the better content to suggest for the user to watch.

The related methods is:
- [[GetFullView]]
- [[GetNodeRecommendations]]
- [[GetNodeRecommendationsByView]]
- [[GetNodeRecommendationsCombined]]

And the legacy method:

- [[GetUserRecommendations]]

All these methods are from OpenGVP, and they use that BackendAPI to get all contents and analyse that to return some recommendation. So, the UNIAPI is like a proxy between the client device and the OpenGVP by these four methods.

The OpenGVP should be active and configured in each Environment and Instance to be used.

This method only can be used by logged user.


|Parameters=

{{Api_Parameter|
ParamName=token
|ParamType=String
|ParamRequired=required
|ParamDescription=A valid token for identifying the API session context. The token can be anonymous or logged.
}}

|Returns=
Returns a JSON object containing a JSON with the personal recommendation as [[SimpleItem]].

'''Example:'''

{
: <span style="color: #a11;">"StatusCode"</span>: <span style="color: #164;">0</span>,
: <span style="color: #a11;">"Severity"</span>: <span style="color: #164;">1</span>,
: <span style="color: #a11;">"StatusMessage"</span>: <span style="color: #164;">"OK"</span>,
: <span style="color: #a11;">"Content"</span>: {
:: <span style="color: #219;">Array of [[SimpleItem]] objects</span>
: }
}

|Exceptions=
* None

|Cache=
This method is not cached.

|KnownIssues=
* None

|VersionHistory=
{{{!}} border="2" style="width:800px;" cellpadding="5" cellspacing="0"
{{!}}- style="background:#88ccff;font-size:110%"
! API Version Number
! Change description
! Changes author
{{!}}- valign="top"
! 2.4
{{!}} Initial method design
{{!}} Harley Cabral
{{!}}}

|SeeAlso=
}}
editor
725

edits

Navigation menu