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/66/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/66/", "slug": "providence", "full_name": "Providence", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -71.38080034172003, 41.85542871113267 ], [ -71.44791994010657, 41.855172993246626 ], [ -71.478818987956, 41.8403396065354 ], [ -71.45092401420258, 41.81974618951644 ], [ -71.43435869132749, 41.78839567038079 ], [ -71.41307268058628, 41.77329076367276 ], [ -71.40551958000053, 41.777643389825364 ], [ -71.38972673332188, 41.779691582274445 ], [ -71.3893834105674, 41.78455577716555 ], [ -71.37977037345843, 41.78557977117733 ], [ -71.3795987192677, 41.78724373192363 ], [ -71.38303194680701, 41.791851382995794 ], [ -71.39161501565438, 41.80004194493906 ], [ -71.39642153420888, 41.79940209498083 ], [ -71.39659319558612, 41.801577558773815 ], [ -71.40260134377856, 41.81155815169663 ], [ -71.40242968240221, 41.81386114464409 ], [ -71.39521990457004, 41.81782721617419 ], [ -71.38869677224588, 41.81731547880942 ], [ -71.38852511086955, 41.82076962666554 ], [ -71.38921175637668, 41.823072288397235 ], [ -71.38389025369139, 41.826014457883424 ], [ -71.37891207376057, 41.82921231484876 ], [ -71.3790837351369, 41.83010768617435 ], [ -71.3780537668753, 41.832793725009445 ], [ -71.3780537668753, 41.84890759102049 ], [ -71.37942705789138, 41.85530085767075 ], [ -71.37977038064494, 41.85530085767075 ], [ -71.38080034172003, 41.85542871113267 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -71.41974364679899, 41.82252071529983 ] }, "region_zoom_level": 12, "default_language": null } }