GET /api/v1/comments
List Comments
: list filtered by target.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/comments" \ -H "Authorization: Bearer <token>"Response 200
Section titled “Response 200”The contract carries no example for this response; schema: CommentList. Field-level shape: interactive explorer.
Returns
Section titled “Returns”CommentList — Successful Response
| Field | Type | Description |
|---|---|---|
items | array of CommentRead | |
total | integer |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
target_kind | query | no | string | null | — | — | |
target_guid | query | no | integer | null | — | — | |
include_deleted | query | no | boolean | false | — | |
limit | query | no | integer | 50 | min 1; max 500 | |
offset | query | no | integer | 0 | min 0 |
Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.