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/38/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/38/", "slug": "alameda", "full_name": "Alameda", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.33247192564863, 37.78009436104347 ], [ -122.33470352354998, 37.77453145041326 ], [ -122.31015594664402, 37.76543993942316 ], [ -122.27290542785322, 37.759333073219146 ], [ -122.24921615782894, 37.75132552920816 ], [ -122.23136337462704, 37.74833944350791 ], [ -122.22295196715962, 37.75960450020182 ], [ -122.226728517448, 37.7674754494435 ], [ -122.33281524840127, 37.79935779134683 ], [ -122.33247192564863, 37.78009436104347 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -122.28204295065919, 37.772179009203974 ] }, "region_zoom_level": 13, "default_language": null } }