Skip to content

Add an API: GET /eligible-jurisdiction?state= #42

Open
@syk1112

Description

@syk1112

Step 1 of #42

  • Create an api endpoint returning all the eligible counties Courtbot serves in Oklahoma via an api call /eligible-jurisdiction?state=OK. Response should return:
{
    "jurisdiction_type": "city" | "county" | "ward" | "zip_code" | "state",
    "eligible_juridisdictions": [
        // should be eligible values of the jurisdiction_type
        // e.g. "city" jurisdiction type lists eligible cities "Tulsa", "Muskogee", "Roger" etc
        // "zip_code" jurisdiction type lists eligible zip codes 74133, 74012, 74114
    ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions