{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/land_uses.json","auth":"never","basic_auth":false,"method":"get","params":[{"name":"jurisdiction","type":"string","default":"required","desc":"","required":false,"in":"query","ref":"","_id":"545fd7d61604950800a01406"},{"name":"id","type":"int","default":"","desc":"integer or valid slug","required":false,"in":"query","ref":"","_id":"545f04a336c337080048349a"},{"name":"category_name","type":"string","default":"","desc":"","required":false,"in":"query","ref":"","_id":"545f04a336c3370800483498"},{"name":"subcategory_name","type":"string","default":"","desc":"","required":false,"in":"query","ref":"","_id":"545f04a336c3370800483497"},{"name":"name","type":"string","default":"","desc":"","required":false,"in":"query","ref":"","_id":"545f04a336c3370800483496"},{"name":"featured","type":"boolean","default":"","desc":"","required":false,"in":"query","ref":"","_id":"545f04a336c3370800483494"},{"name":"keywords","type":"string","default":"","desc":"","required":false,"in":"query","ref":"","_id":"5464696df42a472000b0c4b1"}],"results":{"codes":[{"language":"json","status":200,"name":"","code":"{\n  \"land_uses\": [\n  \t{\n   \t\t\"id\": 2486, \n    \t\"slug\": \"bakery\",\n    \t\"name\": \"Bakery\",\n    \t\"full_name\": \"Retail > Food Sales > Bakery\", \n    \t\"description\": nil, \n    \t\"category_name\": \"Retail\",\n    \t\"sub_category_name\": \"Food Sales\", \n    \t\"keywords\": \"bakery related retail uses food sales\", \n    \t\"icon_url\": \"http://d2ks5jj5byfwun.cloudfront.net/uses/icons/000/002/397/original/icon_7465.svg\", \n    \t\"icon_label\": \"Bakery\" \n  \t}\n\t]\n}"},{"status":404,"name":"","code":"{\n  \"status\": \"404\",\n  \"error\": \"Not Found\"\n}","language":"json"},{"status":500,"language":"json","code":"{\n  \"status\": \"500\", \n  \"error\": \"Internal Server Error\"\n}"}]},"settings":"","try":false},"next":{"description":"","pages":[]},"title":"/land_uses","type":"endpoint","slug":"land_uses","excerpt":"This endpoint returns a list of land use codes for the given jurisdiction. Optional parameters may be added to filter the results.","body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"https://santa-cruz.zoning.io/en/api/1.0/land_uses.json?q[featured]=true\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"https://santa-cruz.zoning.io/en/api/1.0/land_uses.json?category_name=retail\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]","updates":[],"order":1,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"545ef1c036c3370800483477","category":{"sync":{"isSync":false,"url":""},"pages":["545ee03b03c59f0800bbcff2","545ef1c036c3370800483477","545f076a36c337080048349e","545fdc2bc73866200065daea"],"title":"Land Uses","slug":"land-uses","order":3,"from_sync":false,"reference":false,"_id":"545eceedd986c40800e44afe","version":"5446bf21ae0040140035fa3c","project":"5446bf21ae0040140035fa39","__v":4,"createdAt":"2014-11-09T02:18:21.665Z"},"user":"5446beccae0040140035fa37","editedParams":true,"editedParams2":true,"project":"5446bf21ae0040140035fa39","__v":13,"createdAt":"2014-11-09T04:46:56.400Z","githubsync":"","is_link":false,"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"}}

get/land_uses

This endpoint returns a list of land use codes for the given jurisdiction. Optional parameters may be added to filter the results.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

jurisdiction:
stringrequired
id:
integer
integer or valid slug
category_name:
string
subcategory_name:
string
name:
string
featured:
boolean
keywords:
string

Result Format


Documentation

[block:code] { "codes": [ { "code": "https://santa-cruz.zoning.io/en/api/1.0/land_uses.json?q[featured]=true", "language": "text" } ] } [/block] [block:code] { "codes": [ { "code": "https://santa-cruz.zoning.io/en/api/1.0/land_uses.json?category_name=retail", "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 }}