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/2580/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/2580/", "slug": "gadsden", "full_name": "Gadsden, AL", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -85.98905467987254, 34.02515504047754 ], [ -86.00690746307534, 34.02970760870667 ], [ -86.0223569870013, 34.00423854241789 ], [ -86.00759410858336, 33.99783450266497 ], [ -85.99437618255783, 34.00068080216285 ], [ -85.9888830184953, 33.9931378999947 ], [ -85.98459148407161, 33.98374391580112 ], [ -85.95764064788976, 33.98118173989494 ], [ -85.9384145736709, 33.999257664334856 ], [ -85.96004390716746, 34.01234963294735 ], [ -85.97875499725552, 34.02245183753093 ], [ -85.98905467987254, 34.02515504047754 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -85.98104094444896, 34.004613496365124 ] }, "region_zoom_level": 13, "default_language": "en" } }