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/1612/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/1612/", "slug": "shr", "full_name": "Southside Hampton Roads", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -76.33039855957131, 36.964346694730416 ], [ -76.50205993652413, 36.88420363594542 ], [ -76.90992736816497, 36.56609904599019 ], [ -75.8621063232435, 36.55074762266657 ], [ -75.95823669433692, 36.78647271391717 ], [ -75.99806213378984, 36.933708321537694 ], [ -76.05162048339908, 36.933708321537694 ], [ -76.08045959472784, 36.910652831984 ], [ -76.28370666503976, 36.969924289449246 ], [ -76.2891998291023, 36.971021474190714 ], [ -76.3221588134775, 36.966632640333955 ], [ -76.33177185058739, 36.96443812851498 ], [ -76.33039855957131, 36.964346694730416 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -76.31532147661068, 36.7223387094449 ] }, "region_zoom_level": 10, "default_language": "en" } }