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/5/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://es.localwiki.org/api/v4/regions/5/", "slug": "boise", "full_name": "Boise", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -116.32286462519421, 43.59591577039753 ], [ -116.28578576777075, 43.59591577039753 ], [ -116.24939355585715, 43.579005769427695 ], [ -116.21300134394355, 43.56806147269732 ], [ -116.16493615840386, 43.567066438006975 ], [ -116.15935716365166, 43.58304719428024 ], [ -116.16476449702401, 43.600018216191515 ], [ -116.18931207392443, 43.63146100801371 ], [ -116.24166879389456, 43.6382942219642 ], [ -116.29883203241909, 43.653076152832476 ], [ -116.32286462519421, 43.59591577039753 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -116.23767062876337, 43.607329836867095 ] }, "region_zoom_level": 12, "default_language": null } }