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/340/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://es.localwiki.org/api/v4/regions/340/", "slug": "oakland", "full_name": "Oakland", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -122.29650878906733, 37.827835000083766 ], [ -122.31230163574422, 37.82729264621886 ], [ -122.32191467285499, 37.82512319089854 ], [ -122.32603454589604, 37.81915685991915 ], [ -122.33084106445143, 37.81373250414686 ], [ -122.34457397461225, 37.805595223179445 ], [ -122.33084106445143, 37.80016987102319 ], [ -122.32603454589604, 37.797999618573854 ], [ -122.30200195312807, 37.79257370849432 ], [ -122.28346252441186, 37.793658922390556 ], [ -122.26423645019926, 37.787147399922624 ], [ -122.2498168945331, 37.777921760863855 ], [ -122.23471069336159, 37.76978053484639 ], [ -122.2250976562508, 37.76543818109444 ], [ -122.21891784668473, 37.76380973270183 ], [ -122.26560974121193, 37.743722587936425 ], [ -122.24707031250145, 37.71656913448957 ], [ -122.21411132812688, 37.693752539888976 ], [ -122.2069015502922, 37.71439642810395 ], [ -122.18544387817175, 37.73231935022469 ], [ -122.16123962402004, 37.74806621645436 ], [ -122.14819335937354, 37.75783844850561 ], [ -122.1344604492207, 37.77466537803186 ], [ -122.14476013183783, 37.788232693515184 ], [ -122.15643310547364, 37.80722275111198 ], [ -122.18595886230234, 37.82295367180077 ], [ -122.20106506347386, 37.83705440588111 ], [ -122.2240676879874, 37.844374878001894 ], [ -122.25256347656348, 37.84735708426355 ], [ -122.29650878906733, 37.827835000083766 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -122.22480887512202, 37.78459571119325 ] }, "region_zoom_level": 11, "default_language": "en" } }