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

{
    "url": "http://michiganelections.io/api/district-categories/1/",
    "id": 1,
    "name": "Circuit Court",
    "description": "The United States courts of appeals or circuit courts are the intermediate appellate courts (Appeals Court) of the United States federal court system.The courts are divided into 13 circuits, and each hears appeals from the district courts within its borders, or in some instances from other designated federal courts and administrative agencies. Appeals from the courts of appeals are taken to the U.S. Supreme Court.",
    "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Circuit%20Court.md"
}