Skip to content

Get posts of a wall.

GET
/api/walls/{target}/{targetId}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

target*
Typestring
Required
Pattern"\\w+"
targetId*
Typestring
Required
Pattern"[1-9][0-9]*"

Query Parameters

anchorPostId

The ID of the post to anchor the results to. If provided, the results limit will be expanded to include that post. Ignored if the post is not linked to the wall or is behind the given offset.

Typeinteger
limit
Typeinteger
offset
Typeinteger

Responses

Success

application/json
JSON
{
"posts": [
{
"id": 1,
"body": "Hello world!",
"time": "string",
"pictures": [
"/api/uploads/bcb57ea1-ed73-4fde-849b-c88b11393690"
],
"author": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
}
}
],
"mayPost": true,
"mayDelete": true,
"mayReact": true
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python