VIP Specification: DistrictType

list: Return the types of districts, which can filter ballot items.

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

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

{
    "url": "http://michiganelections.io/api/district-categories/12/?format=api",
    "id": 12,
    "name": "State House",
    "description": "",
    "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/State%20House.md"
}