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

{
    "url": "http://michiganelections.io/api/district-categories/38/",
    "id": 38,
    "name": "County Commissioner",
    "description": "The commission acts as the executive of the local government, levies local taxes, administers county governmental services such as prisons, courts, public health oversight, property registration, building code enforcement, and public works such as road maintenance.",
    "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/County%20Commissioner.md"
}