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/40/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/40/", "slug": "bloomington-normal", "full_name": "Bloomington-Normal", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -89.06578452661132, 40.54296909986861 ], [ -88.92974288537982, 40.53514172119777 ], [ -88.89032514169773, 40.52946629979122 ], [ -88.8969126470388, 40.50813024485293 ], [ -88.90013129785574, 40.44349345604039 ], [ -88.97583396508959, 40.437614299013674 ], [ -89.04535682275316, 40.43879017155121 ], [ -89.06278045251378, 40.50095145240967 ], [ -89.06578452661132, 40.54296909986861 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -88.97993652236487, 40.49010169766501 ] }, "region_zoom_level": 12, "default_language": "en" } }