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/4/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/4/", "slug": "richmond-va", "full_name": "Richmond, VA", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -77.45392236601255, 37.50103245517429 ], [ -77.43212137114101, 37.48141906089368 ], [ -77.42104921232776, 37.489047103984504 ], [ -77.40997705351451, 37.48550560940875 ], [ -77.39023599516575, 37.496946756087915 ], [ -77.38062295805676, 37.51328821107444 ], [ -77.37770471464827, 37.525950378220514 ], [ -77.37736139189471, 37.53547962426242 ], [ -77.37770471464827, 37.54704921476852 ], [ -77.40911874663014, 37.56678143119861 ], [ -77.44224939238079, 37.57317626961475 ], [ -77.46731195341486, 37.577257794284115 ], [ -77.49254617582527, 37.56582896147969 ], [ -77.50215921293426, 37.55521490357341 ], [ -77.50593576322713, 37.53439062919095 ], [ -77.49718103300344, 37.51206272603058 ], [ -77.48430642973237, 37.501441012787666 ], [ -77.45392236601255, 37.50103245517429 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -77.4405428279099, 37.532086423565794 ] }, "region_zoom_level": 12, "default_language": null } }