Skip to main content

GET /api/admin/votes

List all votes with pagination.

Query parameters

Response

GET /api/admin/votes/

Get a single vote by UUID.

GET /api/admin/votes/user/

Get all votes cast by a specific user.

GET /api/admin/votes/model/

Get all votes where a specific model was the winner.

GET /api/admin/votes/comparison/

Get all votes for a specific comparison.

POST /api/admin/votes

Create a new vote (admin override).

Request body

DELETE /api/admin/votes/

Delete a vote by UUID.

DELETE /api/admin/votes/user/

Delete all votes for a specific user.

GET /api/admin/votes/stats

Get voting statistics per model — win counts for each model.

Response