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/119/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/119/", "slug": "raleigh", "full_name": "Raleigh", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -78.73485953922476, 35.76540137592192 ], [ -78.72988135929306, 35.75829732263722 ], [ -78.70361716861933, 35.7511926349987 ], [ -78.66516502018287, 35.7433906787287 ], [ -78.6411324274102, 35.74060408044891 ], [ -78.59581382389611, 35.75342162489595 ], [ -78.58002097721665, 35.7559291639052 ], [ -78.57315452213864, 35.76818710599885 ], [ -78.57212455387734, 35.77682224918599 ], [ -78.54362876530227, 35.79158338640389 ], [ -78.54946525211845, 35.86256561908115 ], [ -78.63186271305518, 35.90150925326194 ], [ -78.75099570865845, 35.90846145848217 ], [ -78.73485953922476, 35.76540137592192 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -78.652205473512, 35.82561395348932 ] }, "region_zoom_level": 11, "default_language": "en" } }