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/2555/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/2555/", "slug": "huang", "full_name": "\u9ec3\u9577\u798f\u5bb6\u65cf", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ 121.26394844054349, 24.955505969672334 ], [ 121.27733802795163, 24.966477701226623 ], [ 121.2841186523394, 24.953638343505208 ], [ 121.28360366821038, 24.947490540619945 ], [ 121.27656555175365, 24.94048634060022 ], [ 121.26497840881049, 24.932469934159514 ], [ 121.26042938231511, 24.933870897160062 ], [ 121.26394844054349, 24.955505969672334 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ 121.2720724972035, 24.94895427136977 ] }, "region_zoom_level": 13, "default_language": "zh" } }