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/47/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/47/", "slug": "corvallis", "full_name": "Corvallis", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -123.31418998685642, 44.59167056115825 ], [ -123.32397468534354, 44.57602110850464 ], [ -123.33049781766228, 44.56183515319824 ], [ -123.32036979642248, 44.55192739156576 ], [ -123.3009720608336, 44.54764573803759 ], [ -123.28226097074105, 44.54507659473347 ], [ -123.26251991239944, 44.54446487723344 ], [ -123.24981697050562, 44.54409784364825 ], [ -123.24174888578189, 44.54336376953558 ], [ -123.23522575346313, 44.54311907610795 ], [ -123.23282249418541, 44.55425158586252 ], [ -123.23247917143276, 44.56318052158698 ], [ -123.23093421903675, 44.5732086509821 ], [ -123.22835929838268, 44.578955701771164 ], [ -123.23230751005642, 44.589103361714244 ], [ -123.23934562650417, 44.591548316136745 ], [ -123.31418998685642, 44.59167056115825 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -123.27651885036529, 44.568574717559386 ] }, "region_zoom_level": 13, "default_language": null } }