Difference between revisions of "GetGenres"
Jump to navigation
Jump to search
(Created page with "{{Api_Method_Spec| Description=Returns the genre information by a list of Genres Id. |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |Pa...") |
|||
(2 intermediate revisions 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 | + | |ParamDescription=The genreIds list, separated by comma, that would request the data. |
}} | }} | ||
|Returns= | |Returns= | ||
− | Returns a JSON object containing an array of [[ | + | 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 |