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/60/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/60/", "slug": "vacaville", "full_name": "Vacaville", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.01970489686742, 38.36839110029984 ], [ -122.01867492860943, 38.3573539853152 ], [ -122.01489837831205, 38.35143093717022 ], [ -122.010778505262, 38.35237327269287 ], [ -122.0035687274379, 38.34227618251267 ], [ -121.99790390199185, 38.33460145256414 ], [ -121.98846252626637, 38.33204302858326 ], [ -121.98005111879657, 38.31574778816538 ], [ -121.95189865297405, 38.315882474585436 ], [ -121.94606216615635, 38.32860921232518 ], [ -121.93232925599978, 38.32904686462054 ], [ -121.93198593324503, 38.33352423242371 ], [ -121.93387420839372, 38.37067907205749 ], [ -121.93936737245446, 38.3813104622442 ], [ -121.9506970233376, 38.386020072438804 ], [ -121.98142440980962, 38.38871114058341 ], [ -122.00906189149863, 38.38359802549594 ], [ -122.01970489686742, 38.36839110029984 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -121.97198185184203, 38.35519767660913 ] }, "region_zoom_level": 12, "default_language": null } }