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/61/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/61/", "slug": "winters", "full_name": "Winters", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -121.99554356524251, 38.51998294582068 ], [ -121.99039372393443, 38.515416386241 ], [ -121.96902188250418, 38.51387174905616 ], [ -121.95640477129403, 38.52287047368692 ], [ -121.95975216814608, 38.53321090216514 ], [ -121.98524388262636, 38.53509082042247 ], [ -121.99554356524251, 38.51998294582068 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -121.97559564041396, 38.52438400616878 ] }, "region_zoom_level": 14, "default_language": null } }