VIP Specification: Election

list: Return all upcoming elections.

retrieve: Return a specific upcoming election.

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

{
    "url": "http://michiganelections.io/api/elections/49/?format=api",
    "id": 49,
    "name": "State General",
    "date": "2022-11-08",
    "date_humanized": "Tuesday, November 8th",
    "active": false,
    "proposals_count": 604,
    "positions_count": 3310,
    "reference_url": null
}