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/1/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/1/", "slug": "conway", "full_name": "Conway", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -92.5271645385405, 35.049396627530164 ], [ -92.49557884518036, 35.02971980204357 ], [ -92.46536644284387, 35.02128542634773 ], [ -92.42210777584533, 35.02297237110245 ], [ -92.36305626217896, 35.02353467828605 ], [ -92.32666405026983, 35.02578386834466 ], [ -92.30675133054292, 35.033655546221574 ], [ -92.29919822995717, 35.07300256224901 ], [ -92.30881126706797, 35.11457736018279 ], [ -92.32666405026983, 35.13198752867137 ], [ -92.36580284420933, 35.1488325352477 ], [ -92.40906151119886, 35.15332394824728 ], [ -92.45644005123843, 35.15332394824728 ], [ -92.49763878170295, 35.15276253518019 ], [ -92.51892479244863, 35.13367218618844 ], [ -92.52922447506312, 35.11008380942333 ], [ -92.53643425289525, 35.080307777696504 ], [ -92.5271645385405, 35.049396627530164 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -92.41796544069206, 35.08617733769254 ] }, "region_zoom_level": 11, "default_language": null } }