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/2156/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/2156/", "slug": "sfsu", "full_name": "San Francisco State University", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.48374034023934, 37.72687289780585 ], [ -122.48489905454083, 37.7240555488573 ], [ -122.48502780056634, 37.72130598450929 ], [ -122.47550059414823, 37.72089863296252 ], [ -122.47528601743004, 37.725616984404866 ], [ -122.47773219204957, 37.7260582537025 ], [ -122.47906256771844, 37.72592247881386 ], [ -122.48039294339627, 37.72778936171118 ], [ -122.48176623440696, 37.72694078440975 ], [ -122.48374034023934, 37.72687289780585 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -122.48019373764365, 37.7238027067065 ] }, "region_zoom_level": 16, "default_language": "en" } }