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/1002/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/1002/", "slug": "komoro", "full_name": "\u5c0f\u8af8", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ 138.4979782104495, 36.40733924314566 ], [ 138.48218536377263, 36.321082004709545 ], [ 138.45540618896533, 36.22697491568755 ], [ 138.36270904541118, 36.244697856877394 ], [ 138.3709487915023, 36.33601798366142 ], [ 138.43686676025808, 36.420048567174334 ], [ 138.4979782104495, 36.40733924314566 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ 138.4302592963602, 36.32099148835045 ] }, "region_zoom_level": 11, "default_language": "ja" } }