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/128/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/128/", "slug": "denton", "full_name": "Denton", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -97.16905983254216, 33.2200802896934 ], [ -97.15755852029154, 33.19681283654645 ], [ -97.12562950417617, 33.19106683433874 ], [ -97.1015969114082, 33.19279067458561 ], [ -97.09352882669343, 33.19695648177154 ], [ -97.09043892190141, 33.23085016393151 ], [ -97.09301384255544, 33.246500016931286 ], [ -97.11412819191926, 33.258845630114195 ], [ -97.1438256101344, 33.257123091127234 ], [ -97.17678459451149, 33.25238593379654 ], [ -97.16905983254216, 33.2200802896934 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -97.13062561018414, 33.2258447899477 ] }, "region_zoom_level": 12, "default_language": "en" } }