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/954/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/954/", "slug": "yokohama", "full_name": "\u6a2a\u6d5c\u5e02", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ 139.71415615080912, 35.47925181489442 ], [ 139.6660909652642, 35.53738270091902 ], [ 139.59467983244767, 35.570900603594595 ], [ 139.53013515471153, 35.584303840231144 ], [ 139.47589015960304, 35.58095324134599 ], [ 139.48172664641743, 35.551280365362736 ], [ 139.48687648772392, 35.52550841683953 ], [ 139.4714269638008, 35.50063657629636 ], [ 139.46919536590013, 35.431290138458166 ], [ 139.4880781173617, 35.38581902969698 ], [ 139.55073451995278, 35.361743940836 ], [ 139.60291957854776, 35.33037957120379 ], [ 139.6715841293249, 35.323657050717834 ], [ 139.71415615080912, 35.47925181489442 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ 139.5862134704302, 35.457574836119576 ] }, "region_zoom_level": 10, "default_language": "ja" } }