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/74/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/74/", "slug": "sac", "full_name": "Sacramento", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -121.50686652603834, 38.59723114569056 ], [ -121.50411994400798, 38.58703410528676 ], [ -121.50549323502764, 38.57925117902742 ], [ -121.50995643083037, 38.57415156312473 ], [ -121.51716620865449, 38.569320014109984 ], [ -121.51956946793217, 38.56421969321905 ], [ -121.51373298111875, 38.55428645052589 ], [ -121.5109863990884, 38.54354626564096 ], [ -121.51819617692148, 38.534147287946894 ], [ -121.47304923478328, 38.51588290623636 ], [ -121.41614348832505, 38.515614277804055 ], [ -121.36335761491344, 38.52286689363849 ], [ -121.36215598527505, 38.56046133039677 ], [ -121.38979346696357, 38.59696282107784 ], [ -121.38781936112802, 38.64048536699482 ], [ -121.45244986954762, 38.64377028043725 ], [ -121.4916315788352, 38.64045184669377 ], [ -121.51914031449057, 38.625869029108706 ], [ -121.50686652603834, 38.59723114569056 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -121.4427530553161, 38.577094302946335 ] }, "region_zoom_level": 11, "default_language": null } }