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/59/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/regions/59/", "slug": "dixon", "full_name": "Dixon", "geom": { "type": "MultiPolygon", "coordinates": [ [ [ [ -121.85954483216702, 38.44466370256712 ], [ -121.84443863099898, 38.445067041654795 ], [ -121.8411770648306, 38.44170581371693 ], [ -121.83413894838284, 38.440764641844176 ], [ -121.83379562562119, 38.43605859840771 ], [ -121.83980377381991, 38.430545414494155 ], [ -121.83516891664087, 38.42946962220859 ], [ -121.8313923663435, 38.42960409712102 ], [ -121.8313923663435, 38.43135224819151 ], [ -121.82263763612336, 38.43135224819151 ], [ -121.81886108583498, 38.434982888261956 ], [ -121.80924804872421, 38.434982888261956 ], [ -121.81044967835855, 38.44587371306804 ], [ -121.80976303285323, 38.45891364973669 ], [ -121.80598648255585, 38.46670959938071 ], [ -121.82229431337193, 38.47302638875635 ], [ -121.85954483216702, 38.44466370256712 ] ] ] ] }, "settings": { "region_center": { "type": "Point", "coordinates": [ -121.82666855185533, 38.45092261933954 ] }, "region_zoom_level": 13, "default_language": null } }