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/19/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://es.localwiki.org/api/v4/regions/19/", "slug": "boston", "full_name": "Boston", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -71.21008306641343, 42.42768805908415 ], [ -70.92581182619035, 42.42363326206289 ], [ -70.90383916994112, 42.301867415245425 ], [ -71.16888433594623, 42.29170960987401 ], [ -71.21008306641343, 42.42768805908415 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -71.05486024857353, 42.36181007638955 ] }, "region_zoom_level": 11, "default_language": null } }