Skip to content

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

NameTypeDescription
_pagequery · integerPage number (1-based)
_limitquery · integerItems per page
_startquery · integerSlice start index (alternative to page-based)

ReturnsComment

Bearer token required

Response examples

200Paginated array of comments

application/json example derived from schema

[
  {
    "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)

application/json

{
  "error": {
    "status": 429,
    "message": "Too many requests",
    "details": {
      "retryAfter": 45
    }
  }
}

Released under the MIT License.