Gives a banana to a user
POST
/api/users/{recipientId}/bananas
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
Type
API Key (header: X-CSRF-Token)
Parameters
Path Parameters
recipientId*
Type
Requiredinteger
Minimum
1Request Body
application/json
JSON "message": "string"
{
}
Responses
Success.
application/json
JSON "message": "string", "user": { "id": 342528, "name": "Franzi", "avatar": "99d1fb45-9748-3510-ac02-87b46c40048c", "isSleeping": null }, "time": "string"
{
}