VIP Specification: CandidateContest

list: Return all positions for upcoming elections.

retrieve: Return a position proposal for an upcoming election.

GET /api/positions/65263/?format=api
HTTP 200 OK
Allow: GET
Content-Type: application/json
Vary: Accept

{
    "url": "http://michiganelections.io/api/positions/65263/?format=api",
    "id": 65263,
    "name": "County Commissioner",
    "description": "Acts as the executive of the local government, levying local taxes, administering county governmental services such as correctional institutions, courts, public health oversight, property registration, building code enforcement, and public works.",
    "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/positions/County%20Commissioner.md",
    "reference_url": null,
    "section": "",
    "seats": 1,
    "term": "Partial Term Ending 12/31/2024",
    "candidates": [
        {
            "url": "http://michiganelections.io/api/candidates/113506/?format=api",
            "id": 113506,
            "name": "Myra Croasdell",
            "description": "",
            "reference_url": "https://cfrsearch.nictusa.com/committees/202418",
            "party": {
                "url": "http://michiganelections.io/api/parties/6/?format=api",
                "id": 6,
                "name": "No Party Affiliation",
                "color": "#999"
            }
        },
        {
            "url": "http://michiganelections.io/api/candidates/113505/?format=api",
            "id": 113505,
            "name": "Bob Barron",
            "description": "",
            "reference_url": "https://cfrsearch.nictusa.com/committees/202417",
            "party": {
                "url": "http://michiganelections.io/api/parties/2/?format=api",
                "id": 2,
                "name": "Republican",
                "color": "#E81B23"
            }
        }
    ],
    "election": {
        "url": "http://michiganelections.io/api/elections/56/?format=api",
        "id": 56,
        "name": "May Consolidated",
        "date": "2024-05-07",
        "date_humanized": "Tuesday, May 7th",
        "active": true,
        "proposals_count": 107,
        "positions_count": 19,
        "reference_url": null
    },
    "district": {
        "url": "http://michiganelections.io/api/districts/6279/?format=api",
        "id": 6279,
        "category": "County Commissioner District",
        "name": "Delta County, 3rd District"
    }
}