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/161/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/161/", "slug": "southshore", "full_name": "South Shore, Nova Scotia", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -63.77645874023397, 44.472575807480304 ], [ -63.81765747070296, 44.779472327861335 ], [ -64.0538635253901, 44.82429542826912 ], [ -64.70480346679672, 44.55874866395381 ], [ -65.30081176757798, 44.15617535687426 ], [ -65.85012817382773, 43.756788451826466 ], [ -65.69631958007768, 43.45249633447048 ], [ -65.47109985351561, 43.45249633447048 ], [ -64.88333129882814, 43.78058939838461 ], [ -64.60592651367202, 44.05164549513756 ], [ -64.20217895507761, 44.36468054251741 ], [ -64.04287719726592, 44.48237459512603 ], [ -63.77645874023397, 44.472575807480304 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -64.86096392301617, 44.1376595422092 ] }, "region_zoom_level": 8, "default_language": "en" } }