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/42/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/42/", "slug": "philomath", "full_name": "Philomath, Oregon", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -123.40376767101873, 44.54731174248352 ], [ -123.39312466564739, 44.555507822063134 ], [ -123.37836178723107, 44.557648399007164 ], [ -123.36145314160353, 44.56229623780768 ], [ -123.33887967052993, 44.55850460773684 ], [ -123.32463177624011, 44.55030895022394 ], [ -123.33596142712322, 44.53134442324799 ], [ -123.35844906750417, 44.52406285114802 ], [ -123.39810284558163, 44.525164323845395 ], [ -123.40376767101873, 44.54731174248352 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -123.3657890523896, 44.5424670225368 ] }, "region_zoom_level": 13, "default_language": null } }