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

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 }}