VIP Specification: Election

list: Return all upcoming elections.

retrieve: Return a specific upcoming election.

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

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