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/144/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/144/", "slug": "la", "full_name": "Los Angeles Metro", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -118.7781372070336, 34.03578695148899 ], [ -118.58587646484494, 34.35383598726756 ], [ -118.37164306640433, 34.48977499689504 ], [ -118.2178344726588, 34.611930973076106 ], [ -118.19036865234612, 34.7925727941577 ], [ -117.66302490234472, 34.74293561634397 ], [ -117.39385986327878, 34.385574855213676 ], [ -117.52569580078139, 34.18587380789336 ], [ -117.63555908203205, 34.03578695148899 ], [ -117.68499755859663, 33.74395169219515 ], [ -117.73992919922198, 33.529000398586064 ], [ -117.81683349609025, 33.46945113982771 ], [ -118.42108154296892, 33.68455076798477 ], [ -118.7781372070336, 34.03578695148899 ] ] ], [ [ [ -118.69024658203485, 33.51984164071619 ], [ -118.28924560547088, 33.419031322786424 ], [ -118.16290283203428, 33.26759619538453 ], [ -118.47326660156469, 33.283669977291325 ], [ -118.58587646484494, 33.40527537855771 ], [ -118.68475341797249, 33.51526189807833 ], [ -118.69024658203485, 33.51984164071619 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -118.07071697733556, 34.11659085396096 ] }, "region_zoom_level": 8, "default_language": "en" } }