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/50/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/50/", "slug": "pei", "full_name": "Prince Edward Island", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -63.717407271089876, 46.242618476290424 ], [ -63.239501997671034, 46.109488626047856 ], [ -63.074707075803126, 46.07139232484831 ], [ -62.937377974246075, 45.96458268635278 ], [ -62.65173344300692, 45.93020719931628 ], [ -62.393554732080425, 46.00275267026875 ], [ -62.39904789614205, 46.12091238535448 ], [ -62.250732466460846, 46.314754003660326 ], [ -61.91564945866159, 46.481440133341835 ], [ -62.28918461489679, 46.515472299527815 ], [ -62.91540531799684, 46.45874018883728 ], [ -63.2175293414227, 46.45874018883728 ], [ -63.28894047423204, 46.50413061081049 ], [ -63.44824223203832, 46.54948316620716 ], [ -63.717407271089876, 46.613667805724035 ], [ -63.88769535702033, 46.7229838955862 ], [ -63.997558638266504, 46.80952567728662 ], [ -63.95910648983057, 46.91094081566234 ], [ -63.96459965389219, 47.03837631260986 ], [ -64.0140381304532, 47.094501322631864 ], [ -64.18432621638365, 46.94845336881735 ], [ -64.34362797418991, 46.82456222998607 ], [ -64.4370117632485, 46.72674947290249 ], [ -64.4370117632485, 46.606120615461535 ], [ -64.2722168413806, 46.57969716772739 ], [ -64.17883305232111, 46.587248038818856 ], [ -64.12390141169847, 46.481440133341835 ], [ -64.16784672419695, 46.39437226479194 ], [ -63.97558598201726, 46.352681928056754 ], [ -63.860229536709454, 46.352681928056754 ], [ -63.717407271089876, 46.242618476290424 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -63.26255037492516, 46.397948629580235 ] }, "region_zoom_level": 8, "default_language": null } }