VIP 5.1.2: 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/7/
HTTP 200 OK
Allow: OPTIONS, GET
Content-Type: application/json
Vary: Accept

{
    "url": "http://michiganelections.io/api/district-categories/7/",
    "id": 7,
    "name": "Intermediate School",
    "description": "A type of school that is used for primary and secondary education that operates as an entity independent and separate from any municipality, county, or state.",
    "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Intermediate%20School.md"
}