VIP Specification: Election

list: Return all upcoming elections.

retrieve: Return a specific upcoming election.

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

{
    "url": "http://michiganelections.io/api/elections/41/?format=api",
    "id": 41,
    "name": "State General",
    "date": "2020-11-03",
    "date_humanized": "Tuesday, November 3rd",
    "active": false,
    "reference_url": null
}