Skip to content

List all posts

GET
/posts
limit
integer format: int32
nullable <= 50

How many posts to return at one time (max 100)

offset
integer format: int32

The number of posts to skip before starting to collect the result set

A paged array of posts

Media typeapplication/json
Array<object>
<= 100 items
object
id
required
integer format: int64
name
required
string
text
string
category
object
id
required
integer format: int64
name
required
string
posts
Array<object> recursive
related
Array
One of:
object recursive
Examplegenerated
[
{
"id": 1,
"name": "example",
"text": "example",
"category": {
"id": 1,
"name": "example",
"posts": [],
"related": [
{}
]
}
}
]

Unexpected error

Media typeapplication/json
object
code
required
integer format: int32
message
required
string
causes
Array<object> recursive| null
Examplegenerated
{
"code": 1,
"message": "example",
"causes": []
}