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/31/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://es.localwiki.org/api/v4/regions/31/", "slug": "ptbo", "full_name": "Peterborough, Ontario", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -78.43943030950244, 44.32158392842721 ], [ -78.39926154729685, 44.207257943865955 ], [ -78.28493507025065, 44.20282795205625 ], [ -78.22107703802708, 44.217593295862294 ], [ -78.20974738714844, 44.24514536700981 ], [ -78.20974738714844, 44.302422186427705 ], [ -78.21867377874938, 44.345650069312114 ], [ -78.27600867864972, 44.359888643324894 ], [ -78.3491364252287, 44.35890678376576 ], [ -78.43943030950244, 44.32158392842721 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -78.31583821497094, 44.281445177850024 ] }, "region_zoom_level": 11, "default_language": null } }