Skip to content

Get posts of a wall.

GET
/api/wall/{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"\\d+"

Query Parameters

limit
Typeinteger
Default50
offset
Typeinteger
Default0

Responses

Success

application/json
JSON
{
"posts": [
{
"id": 1,
"body": "Hello world!",
"time": "2024-01-14 09:57:24",
"pictures": [
"/api/uploads/bcb57ea1-ed73-4fde-849b-c88b11393690"
],
"author": {
"id": 0,
"name": "string",
"avatar": "string",
"isSleeping": true
}
}
],
"mayPost": true,
"mayDelete": true,
"mayReact": true
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python