Skip to content

Add a post to a wall.

POST
/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+"

Request Body

application/json
JSON
{
"id": 1,
"body": "Hello world!",
"time": "2024-01-14 09:57:24",
"pictures": [
"/api/uploads/bcb57ea1-ed73-4fde-849b-c88b11393690"
],
"author": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
}
}

Responses

Success

application/json
JSON
{
"id": 1,
"body": "Hello world!",
"time": "2024-01-14 09:57:24",
"pictures": [
"/api/uploads/bcb57ea1-ed73-4fde-849b-c88b11393690"
],
"author": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
}
}

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python