Difference between revisions of "GetUserTaggedSimpleMovies"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Get a list of SimpleMovie tagged by the current user. The user should be logged to use this method. |Parameters= {{Api_Parameter| ParamNa...")
 
Line 47: Line 47:
 
|ParamRequired=optional
 
|ParamRequired=optional
 
|ParamDescription=MovieSortType enum to order the result required. The default sort type is Title.
 
|ParamDescription=MovieSortType enum to order the result required. The default sort type is Title.
 +
}}
 +
{{Api_Parameter|
 +
ParamName=limit
 +
|ParamType=int
 +
|ParamRequired=optional
 +
|ParamDescription=Limit of items to return
 +
}}
 +
{{Api_Parameter|
 +
ParamName=offset
 +
|ParamType=int
 +
|ParamRequired=optional
 +
|ParamDescription=Offset to use when returning items
 
}}
 
}}
  

Revision as of 16:57, 17 February 2016

Description

Get a list of SimpleMovie tagged by the current user.

The user should be logged to use this method.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • tag (TagType, optional)
Type of tag that wants to be filtered. The default value is Unknow.
  • tagValue (String, optional)
The value of the tag.
  • productFilter (ProductType, optional)
A type of product possible in the system. The default value is ProductType.Unknown
  • typeFilter (int, optional)
MovieType enum to filter the result required. A list of values separated by comma as allowed. The default value is 1 and 3 (Movies and Season).
  • adultFilter (int, optional)
AdultFilterType enum to filter the result required. The default value is NonAdultOnly.
  • sort (int, optional)
MovieSortType enum to order the result required. The default sort type is Title.
  • limit (int, optional)
Limit of items to return
  • offset (int, optional)
Offset to use when returning items


Returns

Returns a JSON object containing an Array of SimpleMovie.

Example:

{

"Offset": 0,
"Limit": 100,
"Count": 6,
"List":
[ Array of SimpleMovie objects ]

}


Exceptions


Caching

This method is not cached.


Known issues

  • None


Version history

API Version Number Change description Changes author
1.0 Initial method design Harley Cabral


See also