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/287/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/287/", "slug": "sapporo", "full_name": "\u672d\u5e4c Sapporo", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ 141.1268005371091, 43.2775113487103 ], [ 141.1377868652306, 42.86620750243041 ], [ 141.60333251953523, 42.87627213940251 ], [ 141.5950927734351, 43.28151047080934 ], [ 141.1268005371091, 43.2775113487103 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ 141.36516690383047, 43.07555626237661 ] }, "region_zoom_level": 10, "default_language": "ja" } }