Gives a banana to a user
Gives a banana to a user
Path Parameters
- recipientId string required
Possible values: Value must match regular expression
[1-9][0-9]*
- application/json
Request Body
- message string required
Responses
- 200
- 400
- 401
- 403
- 404
Success.
- application/json
- Schema
- Example (from schema)
Schema
- message string
user object
oneOf- MOD1
id Unique identifier of the foodsaver.name Name of the Foodsaver.Might include the last name.
avatar URL of the foodsavers avatar image.- time date-time
{
"message": "string",
"user": {
"id": 1,
"name": "Max Mustermann",
"avatar": "/api/uploads/bc476952-08be-45a7-b670-db27c966c9c2"
},
"time": "2024-09-10"
}
Invalid parameters.
Not logged in.
Not allowed to give a banana to this user.
User to rate does not exist.
Loading...