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/2579/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/2579/", "slug": "lawton", "full_name": "Lawton, OK", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -98.49359893798352, 34.64471038592594 ], [ -98.4901657104478, 34.5898971344331 ], [ -98.42699432372238, 34.58933186087734 ], [ -98.42630767821704, 34.55031869962504 ], [ -98.38030242919714, 34.551449773471454 ], [ -98.37961578368282, 34.58820130222936 ], [ -98.33017730712719, 34.58820130222936 ], [ -98.31163787841098, 34.5898971344331 ], [ -98.30889129638062, 34.63962614395728 ], [ -98.37755584715778, 34.64188584553879 ], [ -98.37206268309706, 34.670126919330116 ], [ -98.42218780516698, 34.67464459806109 ], [ -98.43042755126709, 34.64696994896055 ], [ -98.49359893798352, 34.64471038592594 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -98.40258929839209, 34.614878988824394 ] }, "region_zoom_level": 11, "default_language": "en" } }