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
RequiredPattern
"\\w+"
targetId*
Typestring
RequiredPattern
"\\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
}
}