giveaway
Draw winners (creator only)
Draw winners for the giveaway. Requires the account JWT of the giveaway creator.
For random selection (selection_mode='random'): Send empty body {}. System will randomly select winners weighted by entry count.
For manual selection (selection_mode='manual'): Provide winner_account_ids list with account IDs in rank order.
post/v1/giveaway/{giveaway_id}/draw
Request
- Base URLhttps://api.grove.city (the document declares no server; this is the origin it was published from)
- URLhttps://api.grove.city/v1/giveaway/{giveaway_id}/draw
- Authnone declared
Path parameters
giveaway_idstring required
Giveaway ID
Headers
authorizationstring nullable
Bearer <account_jwt>
Request body
Example request
{
"winner_account_ids": [
"acc-123...",
"acc-456..."
]
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.