[ ] 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
]
}
Step 1 of #42
/eligible-jurisdiction?state=OK
. Response should return:state
param in the URL to get the state's eligible jurisdictions as mentioned in https://github.com/codefortulsa/courtbot-python/issues/40