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/48/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/48/", "slug": "walnut-creek", "full_name": "Walnut Creek", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.10587890807584, 37.91219198184646 ], [ -122.09660919372674, 37.896209173505724 ], [ -122.08373459045659, 37.8906550122657 ], [ -122.06588180725468, 37.8883519444676 ], [ -122.05317886536086, 37.88902932482742 ], [ -122.04287918274473, 37.89566732256323 ], [ -122.0334378070103, 37.9000020184196 ], [ -122.02382476989953, 37.90961871328407 ], [ -122.01867492859147, 37.9172028254828 ], [ -122.0291462725839, 37.93033774104142 ], [ -122.0828762835653, 37.93358725499114 ], [ -122.09866913025112, 37.92966074088962 ], [ -122.10467727844076, 37.92173937596496 ], [ -122.10587890807584, 37.91219198184646 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -122.06467064495932, 37.91244165761197 ] }, "region_zoom_level": 13, "default_language": null } }