VIP Specification: Locality

list: Return all districts, which can filter ballot items.

retrieve: Return a specific district, which can filter ballot items.

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

{
    "url": "http://michiganelections.io/api/districts/3562/?format=api",
    "id": 3562,
    "category": "Precinct",
    "name": "Township of Nadeau, Precinct 1"
}