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/55/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/55/", "slug": "baton-rouge", "full_name": "Baton Rouge", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -91.18872076091473, 30.519887533632826 ], [ -91.18734746990404, 30.47965634282293 ], [ -91.18734746990404, 30.45361553159405 ], [ -91.1900940519344, 30.420462614421396 ], [ -91.19970708904519, 30.392036859787773 ], [ -91.22167974528814, 30.37663612115206 ], [ -91.07336431561231, 30.345827364169576 ], [ -91.03422552166681, 30.335753166011898 ], [ -91.00469976483026, 30.34701249578849 ], [ -90.97036748944205, 30.369527269380573 ], [ -90.96212774335095, 30.407435170878177 ], [ -90.93740850506865, 30.438224507509446 ], [ -90.95114141522049, 30.485573737902083 ], [ -90.99371343670468, 30.523436545582182 ], [ -91.06512456951224, 30.52698542792452 ], [ -91.18872076091473, 30.519887533632826 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -91.07313703632339, 30.43722532271613 ] }, "region_zoom_level": 11, "default_language": null } }