Skip to content

list

GET
/comment

Lists all comments.

Parameters

Query Parameters

page
number

Page number starting at 1

Example
1
perPage
number

Items per page

Example
5
sort
string

Sort string (-/+)

Example
-created
filter
expand
string
Example
trail
requestKey
string

Unique request key. Prevents auto cancel when sending multiple requests.

Example
my-key

Responses

200

object
items
required
Array<object>
object
author
required
string
collectionId
required
string
collectionName
required
string
created
required
string
id
required
string
iri
required
string
text
required
string
trail
required
string
updated
required
string
page
required
integer
perPage
required
integer
totalItems
required
integer
totalPages
required
integer
Example
{
"items": [
{
"author": "8uvv7d6dh667xh1",
"collectionId": "lf06qip3f4d11yk",
"collectionName": "comments",
"created": "2025-05-27 07:58:10.194Z",
"id": "224z7nsu3m35b6k",
"iri": "",
"text": "https://readerclub.my.id/book.php?isbn=216156650-rewind-it-back",
"trail": "072fba5eaee0e2b",
"updated": "2025-05-27 07:58:10.194Z"
},
{
"author": "l1a076cl9w16g9b",
"collectionId": "lf06qip3f4d11yk",
"collectionName": "comments",
"created": "2025-06-17 21:40:20.796Z",
"id": "2wrgay454lu7t08",
"iri": "https://social.tchncs.de/users/flomp/statuses/114700872618854877",
"text": "<p><span class=\"h-card\" translate=\"no\"><a href=\"https://demo.wanderer.to/profile/@demo\" class=\"u-url mention\">@<span>demo</span></a></span> </p><p>Ganz schön lang!</p>",
"trail": "2ce3af7a2e80f52",
"updated": "2025-06-17 21:40:20.796Z"
},
{
"author": "pnat0l9g6p3nh2a",
"collectionId": "lf06qip3f4d11yk",
"collectionName": "comments",
"created": "2025-05-31 14:14:40.077Z",
"id": "30h73u05t60ku3u",
"iri": "",
"text": "Fixe!",
"trail": "c0ec3039d47cc48",
"updated": "2025-05-31 14:14:40.077Z"
},
{
"author": "pnat0l9g6p3nh2a",
"collectionId": "lf06qip3f4d11yk",
"collectionName": "comments",
"created": "2025-06-18 18:48:15.477Z",
"id": "32wf88038cb800i",
"iri": "",
"text": "<p><a href=\"/profile/@flomp@social.tchncs.de\" class=\"mention\" rel=\"nofollow\">@flomp@social.tchncs.de</a> </p><p>Ja, echt toll!</p>",
"trail": "23fd1747a29c3af",
"updated": "2025-06-18 18:48:15.477Z"
},
{
"author": "pnat0l9g6p3nh2a",
"collectionId": "lf06qip3f4d11yk",
"collectionName": "comments",
"created": "2025-05-31 13:01:03.235Z",
"id": "5nm8og6umaiipc8",
"iri": "",
"text": "stuff",
"trail": "8beaf58dbf3ce95",
"updated": "2025-05-31 13:01:03.235Z"
}
],
"page": 1,
"perPage": 5,
"totalItems": 14,
"totalPages": 3
}

400

object
message
required
string
details
required
Array<object>
object
code
string
minimum
integer
type
string
inclusive
boolean
exact
boolean
message
string
path
Array<string>
Example
{
"message": "invalid_params",
"details": [
{
"code": "too_small",
"minimum": 0,
"type": "number",
"inclusive": false,
"exact": false,
"message": "Number must be greater than 0",
"path": [
"page"
]
}
]
}

x-400:Invalid sort/expand/filter

object
message
required
string
detail
required
object
code
required
integer
message
required
string
data
required
object
Example
{
"message": "Something went wrong while processing your request.",
"detail": {
"code": 400,
"message": "Something went wrong while processing your request.",
"data": {}
}
}