getFavorites


Gets this user’s list of favorites.

Parameters

Name Description
userID required The primary identifier of the user who is reading/adding/removing favorites.
contentID optional The contentID of the content to set/remove as a favorite.
xrefID optional The xref id of the content that is being referenced ~ this id is equivilent to content’s specific identifier; I.E.: video_id,photo_id,etc…
favoriteType optional Type of content. For example: video, photo, blog_post. When passing in a “contentID” use “content. When passing in an “xrefID” use a particular type. Defaults to content. Use a particular type when possible.
page optional Page of content to retrieve.
perPage optional
simple optional Only return the content xref_id and type if this is set to true.
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/svcFavorites?action=getFavorites&userID=229928503&type=blog_post&devkey=[devkey]

JSON Response