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/62/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/62/", "slug": "woodland", "full_name": "Woodland", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -121.80246746026906, 38.696368891039796 ], [ -121.80281078302174, 38.656566785670485 ], [ -121.76607524835094, 38.65509220859428 ], [ -121.75423061334781, 38.65522626231031 ], [ -121.74221431695933, 38.65616463129668 ], [ -121.72882472956016, 38.662330750242916 ], [ -121.72882472956016, 38.67291915053685 ], [ -121.73551952325528, 38.6772076772031 ], [ -121.75062572442677, 38.68685592276165 ], [ -121.76023876153755, 38.6935553279434 ], [ -121.80246746026906, 38.696368891039796 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -121.77029129775403, 38.67379372807204 ] }, "region_zoom_level": 13, "default_language": null } }