GET/comments
List all comments
Paginated list of comments. Supports filtering, range operators (`_gte`, `_lte`, `_gt`, `_lt`, `_ne`, `_like`), full-text search, sorting, field selection, and relation expansion.
Parameters 12
| Name | Type | Description |
|---|---|---|
_page | query · integer | Page number (1-based) |
_limit | query · integer | Items per page |
_start | query · integer | Slice start index (alternative to page-based) |
ReturnsComment
Bearer token required
Response examples
200Paginated array of comments
[
{
"id": 1,
"postId": 1,
"userId": 1,
"body": "How does this compare to the approach described in the official docs?",
"likes": 16,
"createdAt": "2023-04-28T06:59:47.906Z"
}
]429429 — rate limit exceeded (120/60s)
{
"error": {
"status": 429,
"message": "Too many requests",
"details": {
"retryAfter": 45
}
}
}