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/45/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/45/", "slug": "fredericksburg", "full_name": "Fredericksburg, VA", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -77.53846557978396, 38.31157554194609 ], [ -77.53417404536013, 38.29285061822299 ], [ -77.52541931513568, 38.274120861585615 ], [ -77.45426567439137, 38.267651909473564 ], [ -77.40130813960327, 38.275064202291965 ], [ -77.39512833003359, 38.327871720147385 ], [ -77.43636997584503, 38.345207639016344 ], [ -77.4975243413822, 38.34719343091333 ], [ -77.52743633631513, 38.332349160553036 ], [ -77.53846557978396, 38.31157554194609 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -77.4659834662823, 38.30694964628267 ] }, "region_zoom_level": 12, "default_language": null } }