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": 0,
"name": "string",
"avatar": "string",
"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": 0,
"name": "string",
"avatar": "string",
"isSleeping": true
}
}

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python