Vote

Get voting state for a competition

Get comprehensive voting state information for a user in a specific competition

get/api/user/votes/{competitionId}/state

Path parameters

competitionIdstring uuid required

Competition ID to get voting state for

Response

Voting state retrieved successfully

successboolean

Example response

{
  "success": true,
  "votingState": {
    "canVote": true,
    "reason": "Competition status does not allow voting"
  }
}

Changes