VIP Specification: Election

list: Return all upcoming elections.

retrieve: Return a specific upcoming election.

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

{
    "url": "http://michiganelections.io/api/elections/4/?format=api",
    "id": 4,
    "name": "May Consolidated",
    "date": "2019-05-07",
    "date_humanized": "Tuesday, May 7th",
    "active": false,
    "proposals_count": 0,
    "positions_count": 0,
    "reference_url": "https://www.michigan.gov/documents/sos/May_2019_Calendar_643102_7.pdf"
}