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/56/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/56/", "slug": "fremont", "full_name": "Fremont California", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.06819958798829, 37.56762785600376 ], [ -121.88967175596044, 37.56980485917567 ], [ -121.98854870908065, 37.46959687762573 ], [ -122.06270642392757, 37.495751063608395 ], [ -122.05446667782746, 37.49139266840697 ], [ -122.05446667782746, 37.497930165831285 ], [ -122.06819958798829, 37.56762785600376 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -121.99326370335616, 37.53042367917372 ] }, "region_zoom_level": 12, "default_language": null } }