Difference between revisions of "GetGenres"

From Gvp-public
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
 
{{Api_Parameter|
 
{{Api_Parameter|
 
ParamName=genreIds
 
ParamName=genreIds
|ParamType=int
+
|ParamType=Array of int
 
|ParamRequired=required
 
|ParamRequired=required
 
|ParamDescription=The genreIds list, separated by comma, that would request the data.
 
|ParamDescription=The genreIds list, separated by comma, that would request the data.
Line 18: Line 18:
  
 
|Returns=
 
|Returns=
Returns a JSON object containing an array of [[Genres]].
+
Returns a JSON object containing an array of [[Genre]].
  
 
'''Example:'''
 
'''Example:'''

Latest revision as of 16:30, 10 February 2016

Description

Returns the genre information by a list of Genres Id.

Parameters

  • token (String, required)
A valid token for identifying the API session context. The token can be anonymous or logged.
  • genreIds (Array of int, required)
The genreIds list, separated by comma, that would request the data.


Returns

Returns a JSON object containing an array of Genre.

Example:

{

"StatusCode": 0,
"Severity": 1,
"StatusMessage": "OK",
"Content":
[ Array of Genre 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


See also