GET
/cms/comments/{database_id}
Get list of comments
For requests using an OAuth Access Token for a particular member, only comments the authorized user can view will be included
Parameters
| Name | Type | Description |
|---|---|---|
categories
|
string | Comma-delimited list of category IDs |
authors
|
string | Comma-delimited list of member IDs - if provided, only topics started by those members are returned |
locked
|
int | If 1, only comments from events which are locked are returned, if 0 only unlocked |
hidden
|
int | If 1, only comments which are hidden are returned, if 0 only not hidden |
featured
|
int | If 1, only comments from events which are featured are returned, if 0 only not featured |
createdAfter
|
datetime | YYYY-MM-DD. If specified, only comments created after this date are returned. |
sortBy
|
string | What to sort by. Can be 'date', 'title', 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
| Code | Message | Description |
|---|---|---|
2T311/1 |
INVALID_DATABASE |
The database ID does not exist or the authorized user does not have permission to view it |
Response
This endpoint doesn't return a response.