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/2590/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/2590/", "slug": "attica", "full_name": "Attica", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -78.29858207702713, 42.87343298022506 ], [ -78.29892539978073, 42.855692138694465 ], [ -78.25429344177331, 42.853804515095526 ], [ -78.25721168518182, 42.888024459912025 ], [ -78.29858207702713, 42.87343298022506 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -78.2749247090054, 42.86795937126131 ] }, "region_zoom_level": 13, "default_language": "en" } }