OpenIsle Docs
ApiPostsPostidDonations

List donations

Get recent donations for a post

GET
/api/posts/{postId}/donations
AuthorizationBearer <token>

In: header

Path Parameters

postIdinteger
Formatint64

Response Body

curl -X GET "https://www.open-isle.com/api/posts/0/donations"
{
  "totalAmount": 0,
  "donations": [
    {
      "userId": 0,
      "username": "string",
      "avatar": "string",
      "amount": 0,
      "createdAt": "2019-08-24T14:15:22Z"
    }
  ],
  "balance": 0
}