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

{
    "count": 26,
    "next": null,
    "previous": null,
    "results": [
        {
            "url": "http://michiganelections.io/api/district-categories/34/?format=api",
            "id": 34,
            "name": "Authority",
            "description": "Power or control in a political or administrative sphere.",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Authority.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/1/?format=api",
            "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"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/19/?format=api",
            "id": 19,
            "name": "City",
            "description": "A large town.",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/City.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/21/?format=api",
            "id": 21,
            "name": "Community College",
            "description": "Community colleges, sometimes called junior colleges, are two-year schools that provide affordable postsecondary education as a pathway to a four-year degree",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Community%20College.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/3/?format=api",
            "id": 3,
            "name": "County",
            "description": "An administrative or political subdivision of a state that consists of a geographic region with specific boundaries and usually some level of governmental authority.",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/County.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/38/?format=api",
            "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"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/5/?format=api",
            "id": 5,
            "name": "Court of Appeals",
            "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/Court%20of%20Appeals.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/6/?format=api",
            "id": 6,
            "name": "District Court",
            "description": "One of the courts in the federal court system, utilizing a jury to make decisions about a crime or legal argument.",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/District%20Court.md"
        },
        {
            "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"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/7/?format=api",
            "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"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/8/?format=api",
            "id": 8,
            "name": "Jurisdiction",
            "description": "An area with a set of laws under the control of a system of courts or government entity which are different from neighbouring areas.",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Jurisdiction.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/16/?format=api",
            "id": 16,
            "name": "Library",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Library.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/22/?format=api",
            "id": 22,
            "name": "Local School",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Local%20School.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/32/?format=api",
            "id": 32,
            "name": "Metropolitan",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Metropolitan.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/35/?format=api",
            "id": 35,
            "name": "Municipal Court",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Municipal%20Court.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/37/?format=api",
            "id": 37,
            "name": "Precinct",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Precinct.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/10/?format=api",
            "id": 10,
            "name": "Probate Court",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Probate%20Court.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/31/?format=api",
            "id": 31,
            "name": "Probate District Court",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Probate%20District%20Court.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/11/?format=api",
            "id": 11,
            "name": "School",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/School.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/17/?format=api",
            "id": 17,
            "name": "State",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/State.md"
        },
        {
            "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"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/13/?format=api",
            "id": 13,
            "name": "State Senate",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/State%20Senate.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/20/?format=api",
            "id": 20,
            "name": "Township",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Township.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/14/?format=api",
            "id": 14,
            "name": "US Congress",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/US%20Congress.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/33/?format=api",
            "id": 33,
            "name": "Village",
            "description": "",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Village.md"
        },
        {
            "url": "http://michiganelections.io/api/district-categories/36/?format=api",
            "id": 36,
            "name": "Ward",
            "description": "An administrative division of a city or borough that typically elects and is represented by a councilor or councilors.",
            "description_edit_url": "https://github.com/citizenlabsgr/elections-api/edit/main/content/districts/Ward.md"
        }
    ]
}