{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/jurisdictions/:id.json","auth":"never","params":[{"name":"id","type":"string","default":"required","desc":"Integer or valid slug","required":false,"in":"path","ref":"","_id":"546058bb809c100800b234f4"}],"results":{"codes":[{"status":200,"language":"json","code":"{\n  \"jurisdiction\": {\n    \"id\": 67,\n    \"name\": \"Boston\",\n    \"state\": \"Massachusetts\",\n    \"state_abbreviation\": \"MA\",\n    \"full_name\": \"Boston, MA\",\n    \"subdomain\": \"boston\",\n    \"featured\": false,\n    \"bounds\": [[42.53228, -70.816669], [42.13228, -71.216669]],\n    \"center\": [42.33228, -71.01666900000001],\n    \"slug\": \"boston\",\n    \"url\": \"\"\n  }\n}","name":""},{"status":404,"language":"json","code":"{\n  \"status\": \"404\",\n  \"error\": \"Not Found\"\n}","name":""},{"language":"json","code":"{\n  \"status\": \"500\", \n  \"error\": \"Internal Server Error\"\n}","status":500}]},"try":false,"basic_auth":false,"method":"get"},"next":{"description":"","pages":[]},"title":"/jurisdictions/:id","type":"endpoint","slug":"jurisdictions_find","excerpt":"This endpoint returns a single jurisdiction given an id or slug.","body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"https://zoning.io/api/1.0/jurisdictions/20.json\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"54605753f3a81622001a42f1","version":{"version":"1.0","version_clean":"1.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["5446bf21ae0040140035fa3d","545ecdc45c79e60800a9078d","545ecdd8d986c40800e44af3","545ecdf8d986c40800e44af4","545ece065c79e60800a9078f","545ece0cd986c40800e44af5","545ece13d986c40800e44af6","545ece195c79e60800a90790","545eced2d986c40800e44afa","545eced95c79e60800a90792","545eceded986c40800e44afb","545ecee4d986c40800e44afc","545ecee9d986c40800e44afd","545eceedd986c40800e44afe","545ecef2d986c40800e44b00"],"_id":"5446bf21ae0040140035fa3c","project":"5446bf21ae0040140035fa39","__v":15,"createdAt":"2014-10-21T20:16:33.426Z","releaseDate":"2014-10-21T20:16:33.426Z"},"editedParams2":true,"githubsync":"","user":"5446beccae0040140035fa37","category":{"sync":{"isSync":false,"url":""},"pages":["545fe0a4c73866200065daf2","54605753f3a81622001a42f1","546057e5f3a81622001a42f5"],"title":"Jurisdictions","slug":"jurisdictions","order":2,"from_sync":false,"reference":false,"_id":"545ecee9d986c40800e44afd","__v":3,"createdAt":"2014-11-09T02:18:17.280Z","version":"5446bf21ae0040140035fa3c","project":"5446bf21ae0040140035fa39"},"is_link":false,"project":"5446bf21ae0040140035fa39","__v":2,"createdAt":"2014-11-10T06:12:35.479Z","editedParams":true}

get/jurisdictions/:id

This endpoint returns a single jurisdiction given an id or slug.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
stringrequired
Integer or valid slug

Result Format


Documentation

[block:code] { "codes": [ { "code": "https://zoning.io/api/1.0/jurisdictions/20.json", "language": "text" } ] } [/block]

User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}