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/2/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/regions/2/", "slug": "sf", "full_name": "San Francisco", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.50421912611115, 37.71345269822791 ], [ -122.39744574964354, 37.718341260262726 ], [ -122.38062293470867, 37.71888441391134 ], [ -122.36894996107286, 37.716440191133465 ], [ -122.36277015150677, 37.714810664481774 ], [ -122.35556037367368, 37.724587286785415 ], [ -122.35865027845674, 37.73083278662494 ], [ -122.37169654310321, 37.7346341373439 ], [ -122.36551673353715, 37.737349268371965 ], [ -122.36551673353715, 37.74033579749566 ], [ -122.37375647962823, 37.74875173131864 ], [ -122.37993628919435, 37.75418085816961 ], [ -122.38027961195598, 37.7639522826334 ], [ -122.38336951673902, 37.7639522826334 ], [ -122.38336951673902, 37.77182276919445 ], [ -122.37993628919435, 37.77209415034213 ], [ -122.38508613050239, 37.778606999072785 ], [ -122.38302619398637, 37.784033934728924 ], [ -122.38336951673902, 37.78756122923081 ], [ -122.38920600355245, 37.7938014147722 ], [ -122.39950568616855, 37.807636467974405 ], [ -122.41117865980436, 37.81197634278504 ], [ -122.42491156995621, 37.811433872383 ], [ -122.43658454359202, 37.80845021393077 ], [ -122.44619758070279, 37.80899270625336 ], [ -122.46233375013234, 37.80655145941633 ], [ -122.46714026868771, 37.80736521732906 ], [ -122.47675330579851, 37.811433872383 ], [ -122.4791565650762, 37.811433872383 ], [ -122.48293311536457, 37.80058362739589 ], [ -122.4873963111673, 37.79163097522664 ], [ -122.49597938001108, 37.78837519636149 ], [ -122.50353248059683, 37.78918915452709 ], [ -122.5121155494496, 37.78701857949658 ], [ -122.51589209973798, 37.78186320828071 ], [ -122.5073090308942, 37.71318110199014 ], [ -122.50421912611115, 37.71345269822791 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -122.44233990662737, 37.75888818356761 ] }, "region_zoom_level": 12, "default_language": null } }