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/196/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://localwiki.org/api/v4/regions/196/", "slug": "tucson", "full_name": "Tucson Arizona", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -110.93328985040762, 32.22045927355675 ], [ -110.9772351629025, 32.12746713983082 ], [ -110.76849492853162, 32.12746713983082 ], [ -110.90033086603421, 32.35976926102878 ], [ -111.04315313165829, 32.2669197161894 ], [ -110.98822149103296, 32.155374748526 ], [ -110.9442761785291, 32.19257160408855 ], [ -110.85638555353034, 32.09024371315894 ], [ -110.93328985040762, 32.22045927355675 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -110.91242508087262, 32.220026758441655 ] }, "region_zoom_level": 10, "default_language": "en" } }