REST API Documentation
/forums/topics
Get list of topics
For requests using an OAuth Access Token for a particular member, only topics the authorized user can view will be included
Parameters
Name | Type | Description |
---|---|---|
forums
|
string | Comma-delimited list of forum IDs |
ids
|
string | Comma-delimited list of topic IDs |
authors
|
string | Comma-delimited list of member IDs - if provided, only topics started by those members are returned |
hasBestAnswer
|
int | If 1, only topics with a best answer are returned, if 0 only without |
hasPoll
|
int | If 1, only topics with a poll are returned, if 0 only without |
locked
|
int | If 1, only topics which are locked are returned, if 0 only unlocked |
hidden
|
int | If 1, only topics which are hidden are returned, if 0 only not hidden |
pinned
|
int | If 1, only topics which are pinned are returned, if 0 only not pinned |
featured
|
int | If 1, only topics which are featured are returned, if 0 only not featured |
archived
|
int | If 1, only topics which are archived are returned, if 0 only not archived |
sortBy
|
string | What to sort by. Can be 'date', 'title', 'updated' or leave unspecified for ID |
sortDir
|
string | Sort direction. Can be 'asc' or 'desc' - defaults to 'asc' |
page
|
int | Page number |
perPage
|
int | Number of results per page - defaults to 25 |
Exceptions
This endpoint doesn't throw any exceptions.
Response
This endpoint doesn't return a response.