ApiPostsPostidDonations
Donate
Donate points to the post author
AuthorizationBearer <token>
In: header
Path Parameters
postIdinteger
Format
int64amount?integer
Format
int32Response Body
curl -X POST "https://www.open-isle.com/api/posts/0/donations" \ -H "Content-Type: application/json" \ -d '{}'{
"totalAmount": 0,
"donations": [
{
"userId": 0,
"username": "string",
"avatar": "string",
"amount": 0,
"createdAt": "2019-08-24T14:15:22Z"
}
],
"balance": 0
}