Get posts of a wall.
Get posts of a wall.
Path Parameters
- target string required
Possible values: Value must match regular expression
\w+
- targetId string required
Possible values: Value must match regular expression
\d+
Responses
- 200
- 403
Success
- application/json
- Schema
- Example (from schema)
Schema
posts object[]
id Unique identifier of the wall postbody Text of the wall posttime The posts time of creationpictures string[]Image urls. Legacy images get returned as file identifier from which urls to differently sized images can be generated
author object
id Unique identifier of the foodsaver.name Name of the Foodsaver.Might include the last name.
avatar URL of the foodsavers avatar image.- mayPost boolean
Whether the user is permitted to post to this wall
- mayDelete boolean
whether the user is permitted to delete all posts on this wall
{
"posts": [
{
"id": 1,
"body": "Hello world!",
"time": "2024-01-14 09:57:24",
"pictures": [
"/api/uploads/bcb57ea1-ed73-4fde-849b-c88b11393690"
],
"author": {
"id": 1,
"name": "Max Mustermann",
"avatar": "/api/uploads/bc476952-08be-45a7-b670-db27c966c9c2"
}
}
],
"mayPost": true,
"mayDelete": true
}
Not permitted to read this wall
Loading...