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/28/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/28/", "slug": "wgtn", "full_name": "Wellington", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ 174.7216185983012, -41.19677954385279 ], [ 174.8513945992698, -41.22002546269581 ], [ 174.8266753609875, -41.23913258640595 ], [ 174.79508966763382, -41.26339574549126 ], [ 174.79577631313913, -41.28403814428009 ], [ 174.8129424508357, -41.28455412061478 ], [ 174.839721625634, -41.285586061043745 ], [ 174.8342284615733, -41.316020961562394 ], [ 174.8410949166537, -41.32942844280161 ], [ 174.81912226040177, -41.350565404423214 ], [ 174.80058283169453, -41.33767782937303 ], [ 174.78822321255342, -41.35159630023944 ], [ 174.7147521432208, -41.36499646028403 ], [ 174.69071955044387, -41.353142613354564 ], [ 174.64746088345433, -41.339224473051026 ], [ 174.6241149361917, -41.30828462147209 ], [ 174.60763544400052, -41.28661798515371 ], [ 174.62960810025245, -41.24532829217556 ], [ 174.65570062954544, -41.230870731675466 ], [ 174.66874689420092, -41.23603451325157 ], [ 174.69621271450458, -41.227772266941535 ], [ 174.69689936001893, -41.226739412733195 ], [ 174.7216185983012, -41.19677954385279 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ 174.73079539131055, -41.28366281849466 ] }, "region_zoom_level": 11, "default_language": null } }