{"_id":"545ef1c036c3370800483477","category":{"_id":"545eceedd986c40800e44afe","pages":["545ee03b03c59f0800bbcff2","545ef1c036c3370800483477","545f076a36c337080048349e","545fdc2bc73866200065daea"],"version":"5446bf21ae0040140035fa3c","project":"5446bf21ae0040140035fa39","__v":4,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-11-09T02:18:21.665Z","from_sync":false,"order":3,"slug":"land-uses","title":"Land Uses"},"user":"5446beccae0040140035fa37","editedParams":true,"editedParams2":true,"project":"5446bf21ae0040140035fa39","__v":13,"is_link":false,"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"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-11-09T04:46:56.400Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"basic_auth":false,"method":"get","results":{"codes":[{"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}","name":"","status":200,"language":"json"},{"language":"json","code":"{\n  \"status\": \"404\",\n  \"error\": \"Not Found\"\n}","name":"","status":404},{"code":"{\n  \"status\": \"500\", \n  \"error\": \"Internal Server Error\"\n}","language":"json","status":500}]},"settings":"","try":false,"auth":"never","params":[{"_id":"545fd7d61604950800a01406","ref":"","in":"query","required":false,"desc":"","default":"required","type":"string","name":"jurisdiction"},{"_id":"545f04a336c337080048349a","ref":"","in":"query","required":false,"desc":"integer or valid slug","default":"","type":"int","name":"id"},{"_id":"545f04a336c3370800483498","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"category_name"},{"_id":"545f04a336c3370800483497","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"subcategory_name"},{"_id":"545f04a336c3370800483496","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"name"},{"_id":"545f04a336c3370800483494","ref":"","in":"query","required":false,"desc":"","default":"","type":"boolean","name":"featured"},{"_id":"5464696df42a472000b0c4b1","ref":"","in":"query","required":false,"desc":"","default":"","type":"string","name":"keywords"}],"url":"/land_uses.json"},"isReference":false,"order":1,"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]","excerpt":"This endpoint returns a list of land use codes for the given jurisdiction. Optional parameters may be added to filter the results.","slug":"land_uses","type":"endpoint","title":"/land_uses"}

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