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/164/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/164/", "slug": "cu", "full_name": "Champaign-Urbana", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -88.28386688232465, 40.144053597203765 ], [ -88.26361083984413, 40.15927369093263 ], [ -88.23408508300803, 40.15717457044548 ], [ -88.19631958007825, 40.149564714700766 ], [ -88.16988372802781, 40.142216458677595 ], [ -88.16130065917953, 40.124367384874944 ], [ -88.15889739990246, 40.10756397448789 ], [ -88.16130065917976, 40.07420741334636 ], [ -88.18842315673822, 40.07079203991357 ], [ -88.23666000366224, 40.07355062406423 ], [ -88.28352355957064, 40.07394469839332 ], [ -88.29931640625006, 40.07841071475893 ], [ -88.30240631103547, 40.129355098008276 ], [ -88.28386688232465, 40.144053597203765 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -88.23062248958516, 40.11184068274862 ] }, "region_zoom_level": 12, "default_language": "en" } }