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/2628/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/2628/", "slug": "booktown", "full_name": "\u672c\u306e\u307e\u3061", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ 138.54089355469532, 37.011515097065846 ], [ 137.84875488281796, 36.83585783752381 ], [ 137.36535644532037, 35.871438803800004 ], [ 137.61804199219512, 35.2009383666752 ], [ 138.04650878906733, 35.254784411188346 ], [ 138.3431396484459, 35.93373244523827 ], [ 138.74963378906622, 35.95152162109769 ], [ 138.77160644531813, 36.747877540029386 ], [ 138.5299072265649, 37.0202873335294 ], [ 138.5189208984434, 37.0202873335294 ], [ 138.54089355469532, 37.011515097065846 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ 138.07998444564407, 36.15173358197133 ] }, "region_zoom_level": 7, "default_language": "ja" } }