Documentation Index
Fetch the complete documentation index at: https://api.docs.onlydrams.app/llms.txt
Use this file to discover all available pages before exploring further.
Returns an array of all completed raffles, including information about their winners and prizes.
Authentication
Bearer token required in Authorization header.
Returns
Returns an array of past raffles, each including the raffle details, winner information (if applicable), and prize information.
curl -H "Authorization: $ACCESS_TOKEN" \
--request GET \
--url https://api.onlydrams.app/api/v1/raffles/past
[
{
"id": "2107ea79-c5b3-419e-b920-310be01d4f75",
"name": "Test raffle",
"description": "Test raffle description",
"end_date": "November 30, 2024",
"status": "ended",
"winner": {
"id": "d0d2af03-9412-4bba-9502-caf16c98c71f",
"name": "trenton",
"avatar": "https://storage.googleapis.com/onlydrams/hddwok61zvdqymhxvlbkz194eutf",
"bottles": 17
},
"prize": {
"id": "00021260-d2d5-43c5-b5cb-3e364d6cd2c1",
"name": "Down Home Single Barrel Bourbon"
}
}
]