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/124/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/124/", "slug": "chicago", "full_name": "Chicago", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -87.64590803866744, 41.987836595456656 ], [ -87.78873030428701, 41.98477427430771 ], [ -87.74890486483591, 41.75877828607189 ], [ -87.49072615390853, 41.69933478418335 ], [ -87.49759260898624, 41.89692510570415 ], [ -87.64728132968354, 41.98477427430771 ], [ -87.64590803866744, 41.98477427430771 ], [ -87.64590803866744, 41.987836595456656 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -87.63514487869529, 41.8496849171542 ] }, "region_zoom_level": 10, "default_language": "en" } }