Skip to content

Get posts of a wall.​

GET
/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

Query Parameters

anchorPostId

The post ID used to anchor the results. If needed, the results limit is expanded to include all wall posts with an ID greater than or equal to this ID, even if the anchor post no longer exists or is not linked to the wall. The limit is unchanged if this range is already covered or lies before the given offset.

Type
[ "integer", "null" ]
limit
Type
[ "integer", "null" ]
offset
Type
[ "integer", "null" ]

Responses​

Success

application/json
JSON
{
  
"posts": [
  
  
{
  
  
  
"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
  
  
  
}
  
  
}
  
],
  
"mayPost": true,
  
"mayDelete": true,
  
"mayReact": true
}

Playground​

Authorization
Variables
Key
Value

Samples​