Votes — claim
POST /api/v1/votes/claim — claim the reward. GET removed on 2026-10-01.
GET /api/v1/votes/claim is deprecated. It disappears on 2026-10-01. Switch to POST.curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \
"https://www.cgs-hub.com/api/v1/votes/claim?playername=Pseudo"Response: { "claimed": 0 | 1 | 2 }
| claimed | Meaning |
|---|---|
| 0 | no vote to reward |
| 1 | reward now |
| 2 | already claimed |
Idempotent: a second claim of the same vote returns 2, not a double reward.
playername in query or JSON. Auth: Authentication.