Difference between revisions of "GetSeriesSeasonSimpleMovies"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description=Returns the list of SimpleMovie object with all Season in the Series searched. Used to show, on the device client, a list of all seasons ava...")
 
 
Line 41: Line 41:
 
|ParamRequired=optional
 
|ParamRequired=optional
 
|ParamDescription=Id of a [[MovieSortType]] to order the result. The default is 2 (title).
 
|ParamDescription=Id of a [[MovieSortType]] to order the result. The default is 2 (title).
 +
}}
 +
{{Api_Parameter|
 +
ParamName= playType
 +
|ParamType=[[PlayType]]
 +
|ParamRequired=optional
 +
|ParamDescription=PlayType of the media associated with the movie.
 
}}
 
}}
  
Line 78: Line 84:
 
{{!}} Initial method design
 
{{!}} Initial method design
 
{{!}} Harley Cabral
 
{{!}} Harley Cabral
 +
{{!}}- valign="top"
 +
! 3.2
 +
{{!}} Added playType
 +
{{!}} Pedro Caamaño
 
{{!}}}
 
{{!}}}
  
 
|SeeAlso=
 
|SeeAlso=
 
}}
 
}}

Latest revision as of 16:46, 10 February 2016

Description

Returns the list of SimpleMovie object with all Season in the Series searched. Used to show, on the device client, a list of all seasons available in Series.

The result is default ordered by the Title field and default filtered by NonAdultOnly. The method can be used by logged or anonymous user.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • offset (int, optional)
The offset number of the returned values for this request
  • limit (int, optional)
The limit number of values for this request
  • movieId (int, required)
The id of the Series that wants to retrieve the list of Seasons.
  • adultFilter (int, optional)
String separated by comma with the AdultFilterType to filter the result.
  • sort (int, optional)
Id of a MovieSortType to order the result. The default is 2 (title).
PlayType of the media associated with the movie.


Returns

Returns a JSON object containing an array of SimpleMovie.

Example:

{

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

}


Exceptions

None


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
3.2 Added playType Pedro Caamaño


See also