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/1004/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://localwiki.org/api/v4/regions/1004/", "slug": "ueda", "full_name": "\u4e0a\u7530", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ 138.08736419677916, 36.32160930734441 ], [ 138.17800140380828, 36.466421674878 ], [ 138.33730316162354, 36.548656392464466 ], [ 138.44579315185453, 36.49457896163766 ], [ 138.34210968017894, 36.36143195185003 ], [ 138.18280792236368, 36.25851515521146 ], [ 138.08736419677916, 36.32160930734441 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ 138.2606014337409, 36.40844408841224 ] }, "region_zoom_level": 10, "default_language": "ja" } }