{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/zones/:id.json","auth":"never","basic_auth":false,"method":"get","params":[{"name":"jurisdiction","type":"string","default":"required","desc":"","required":false,"in":"query","ref":"","_id":"546059c8809c100800b23502"},{"name":"id","type":"string","default":"required","desc":"Can be an integer or valid slug","required":false,"in":"path","ref":"","_id":"545ef20436c337080048347a"}],"results":{"codes":[{"status":200,"language":"json","code":"{\n  \"zone\": {\n    \"id\": 1292,\n    \"slug\": \"beach-commercial\",\n    \"code\": \"C-B\",\n    \"name\": \"Beach Commercial\", \n    \"display_name\": \"C-B - Beach Commercial\", \n    \"description\": \"The purpose of this district is to provide for commercial uses which are primarily coastal-dependent in nature and which serve tourists and visitors to the Santa Cruz coastal recreational areas. Also, to provide commodities and services to residents of such areas. The C-B District shall be applied only in areas designated in the General Plan and the Local Coastal Program.\", \n    \"municipal_code_url\": \"http://www.codepublishing.com/ca/santacruz/?santacruz24/SantaCruz2410.html#24.10.1100\",\n    \"overlay\": false\n  }\n}","name":""},{"status":404,"language":"json","code":"{\n  \"status\": \"404\",\n  \"error\": \"Not Found\"\n}","name":""},{"status":500,"language":"json","code":"{\n  \"status\": \"500\", \n  \"error\": \"Internal Server Error\"\n}"}]},"settings":"","try":false},"next":{"description":"","pages":[]},"title":"/zones/:id","type":"endpoint","slug":"zones_find","excerpt":"Find a zone with a slug or id. The default format is json. If geojson is requested, the API will return geometry on the returned results.","body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"https://zoning.io/api/1.0/zones/55.json\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"545ef20436c3370800483479","githubsync":"","project":"5446bf21ae0040140035fa39","__v":1,"editedParams2":true,"user":"5446beccae0040140035fa37","category":{"sync":{"isSync":false,"url":""},"pages":["545ef20436c3370800483479","545ef25003c59f0800bbcff8","545fdd511604950800a0140c","545fdda81604950800a0140e"],"title":"Zones","slug":"zones","order":6,"from_sync":false,"reference":false,"_id":"545ecef2d986c40800e44b00","createdAt":"2014-11-09T02:18:26.328Z","project":"5446bf21ae0040140035fa39","version":"5446bf21ae0040140035fa3c","__v":4},"createdAt":"2014-11-09T04:48:04.611Z","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"},"editedParams":true,"is_link":false}

get/zones/:id

Find a zone with a slug or id. The default format is json. If geojson is requested, the API will return geometry on the returned results.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
stringrequired
Can be an integer or valid slug

Query Params

jurisdiction:
stringrequired

Result Format


Documentation

[block:code] { "codes": [ { "code": "https://zoning.io/api/1.0/zones/55.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 }}