VIP 5.1.2: Election

list: Return all upcoming elections.

retrieve: Return a specific upcoming election.

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

{
    "url": "http://michiganelections.io/api/elections/41/",
    "id": 41,
    "name": "State General",
    "date": "2020-11-03",
    "date_humanized": "Tuesday, November 3rd",
    "description": "",
    "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/elections/State%20General.md",
    "active": true,
    "reference_url": null
}