VIP Specification: Election

list: Return all upcoming elections.

retrieve: Return a specific upcoming election.

GET /api/elections/52/?format=api
HTTP 200 OK
Allow: OPTIONS, GET
Content-Type: application/json
Vary: Accept

{
    "url": "http://michiganelections.io/api/elections/52/?format=api",
    "id": 52,
    "name": "November Consolidated",
    "date": "2023-11-07",
    "date_humanized": "Tuesday, November 7th",
    "active": false,
    "proposals_count": 236,
    "positions_count": 441,
    "reference_url": null
}