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/23/?format=api
HTTP 200 OK
Allow: OPTIONS, GET
Content-Type: application/json
Vary: Accept

{
    "url": "http://michiganelections.io/api/district-categories/23/?format=api",
    "id": 23,
    "name": "District Library",
    "description": "Generally supported by taxes (usually local, though any level of government can and may contribute); they are governed by a board to serve the public interest; they are open to all, and every community member can access the collection; they are entirely voluntary in that no one is ever forced to use the services provided; and they provide basic services without charge.",
    "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/District%20Library.md"
}