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/70/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/70/", "slug": "sonoma-valley", "full_name": "Sonoma Valley", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.4932328554729, 38.108113829826785 ], [ -122.51657880273551, 38.132962729871856 ], [ -122.53305829492672, 38.15240379591379 ], [ -122.54953778710892, 38.157803172652855 ], [ -122.64978803124879, 38.17507849169884 ], [ -122.774757513662, 38.17507849169884 ], [ -122.89698041405381, 38.20745867927324 ], [ -122.9505387636595, 38.229037472545286 ], [ -122.97251141990242, 38.25060986570569 ], [ -123.06246198142415, 38.32040657343865 ], [ -123.09593594992916, 38.44064136530723 ], [ -123.12117017234074, 38.56067621879292 ], [ -122.80359662499103, 38.578258243799716 ], [ -122.6446381899397, 38.579197620226886 ], [ -122.5900498720718, 38.456572433197486 ], [ -122.55228436914533, 38.234431170891845 ], [ -122.51589215723126, 38.1712998654835 ], [ -122.4932328554729, 38.108113829826785 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -122.81257664436828, 38.382211140776676 ] }, "region_zoom_level": 9, "default_language": null } }