VIP Specification: Candidate

list: Return all candidates in an upcoming elections.

retrieve: Return a specific candidate in an upcoming election.

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

{
    "url": "http://michiganelections.io/api/candidates/10570/?format=api",
    "id": 10570,
    "name": "Ted Gerrard",
    "description": "",
    "reference_url": null,
    "party": {
        "url": "http://michiganelections.io/api/parties/8/?format=api",
        "id": 8,
        "name": "U.S. Taxpayers",
        "color": "#A356DE"
    },
    "nomination": null
}