REST API Documentation
/downloads/categories
Get list of categories
For requests using an OAuth Access Token for a particular member, only categories the authorized user can view will be included
Parameters
Name | Type | Description |
---|---|---|
clubs
|
int | 0|1 Include club categories, default: 1 |
page
|
int | Page number |
perPage
|
int | Number of results per page - defaults to 25 |
Exceptions
This endpoint doesn't throw any exceptions.
Response
Name | Type | Description |
---|---|---|
page
|
int | The page number for the results being shown |
perPage
|
int | The number of results that will be on each page |
totalResults
|
int | The total number of results |
totalPages
|
int | The number of pages of results |
results
|
array of category objects | The results for this page |