VIP 5.1.2: Election

list: Return all upcoming elections.

retrieve: Return a specific upcoming election.

GET /api/elections/44/
HTTP 200 OK
Allow: OPTIONS, GET
Content-Type: application/json
Vary: Accept

{
    "url": "http://michiganelections.io/api/elections/44/",
    "id": 44,
    "name": "August Consolidated",
    "date": "2021-08-03",
    "date_humanized": "Tuesday, August 3rd",
    "description": "",
    "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/elections/August%20Consolidated.md",
    "active": false,
    "reference_url": null
}