Skip to content

Add a post to a wall.​

POST
/api/walls/{target}/{targetId}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

target*
Type
string
Required
Pattern
"\\w+"
targetId*
Type
integer
Required
Minimum
1

Request Body​

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

Responses​

Success

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

Playground​

Authorization
Variables
Key
Value
Body

Samples​