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/44/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/44/", "slug": "rugby", "full_name": "Rugby, Warwickshire", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -1.282533807634617, 52.367865947579936 ], [ -1.264166040301386, 52.364616574844426 ], [ -1.252149743915156, 52.36178628127618 ], [ -1.241163415790628, 52.355391246781444 ], [ -1.203054590108533, 52.35444763875525 ], [ -1.195501489522864, 52.356229992558546 ], [ -1.199621362569584, 52.364616574844426 ], [ -1.21781746852585, 52.37226794229549 ], [ -1.234640283466572, 52.37824137631721 ], [ -1.259702844500735, 52.3820136552098 ], [ -1.284422082781057, 52.38128018177585 ], [ -1.282533807634617, 52.367865947579936 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -1.241368036767343, 52.36813028431074 ] }, "region_zoom_level": 14, "default_language": null } }