maintenance
Close expired giveaways (admin/cron)
Admin/cron endpoint to transition giveaways from active -> ended when end_at has passed. Does not draw winners or modify entries; it only updates status. Safe to run repeatedly (idempotent for already-ended giveaways). Returns the number of giveaways closed plus their IDs.
post/v1/admin/close_expired_giveaways
Request
- Base URLhttps://api.grove.city (the document declares no server; this is the origin it was published from)
- URLhttps://api.grove.city/v1/admin/close_expired_giveaways
- Authnone declared
Headers
X-MAINTENANCE-KEYstring nullable
Response
Closed giveaways count + IDs
Changes
No recorded changes to this operation across all 1 revision of this API.