Region Instance

API endpoint that allows regions to be viewed.

Filter fields

You can filter the result set by providing the following query parameters:

Ordering

You can order the result set by providing the ordering query parameter with the value of one of:

  • slug

You can reverse ordering by using the - sign, e.g. -slug.

GET /api/v4/regions/68/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/68/", "slug": "elk-grove", "full_name": "Elk Grove", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -121.46395117461496, 38.42421354401886 ], [ -121.45502478301852, 38.36770783497519 ], [ -121.39391333282708, 38.38062731890917 ], [ -121.33554846466605, 38.37739766419235 ], [ -121.28885657013436, 38.39731157126432 ], [ -121.27443701446565, 38.4613218171099 ], [ -121.47768408477577, 38.46454772180497 ], [ -121.46395117461496, 38.42421354401886 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -121.37789955551872, 38.42238591034417 ] }, "region_zoom_level": 12, "default_language": null } }