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/21/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://es.localwiki.org/api/v4/regions/21/", "slug": "berkeley", "full_name": "Berkeley", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.32509048644818, 37.874394405435645 ], [ -122.31770904723876, 37.876291414223 ], [ -122.31376083556503, 37.87060024130804 ], [ -122.30740936462263, 37.8708712595113 ], [ -122.31135757628735, 37.877375397311546 ], [ -122.27616699401258, 37.881711170144975 ], [ -122.25985916320673, 37.88211763576228 ], [ -122.2466412371839, 37.884149930198944 ], [ -122.23771484557845, 37.870735750534635 ], [ -122.23273666564721, 37.85677699105909 ], [ -122.23119171325871, 37.852168664807486 ], [ -122.2777119464086, 37.83996876369053 ], [ -122.28878410522029, 37.841121062881214 ], [ -122.29985626403194, 37.84335782756669 ], [ -122.30293543998131, 37.848881667879276 ], [ -122.30189474288385, 37.85698029293512 ], [ -122.30599315825908, 37.85935210672745 ], [ -122.30855735007754, 37.862841922537946 ], [ -122.31421144668101, 37.86199489505179 ], [ -122.31556328002512, 37.85759019519952 ], [ -122.31981189910579, 37.86612829702095 ], [ -122.32509048644818, 37.874394405435645 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -122.27421426412693, 37.86281772849584 ] }, "region_zoom_level": 13, "default_language": null } }