Historical Map Data Instance

API endpoint that allows map history to be viewed.

Filter fields

You can filter the result set by providing the following query parameters:

And the usual set of historical filter fields:

  • history_user - filter by the user resource of the editor, if user was logged in. Allows for chained filtering on all of the filters available on the user resource, e.g. history_user__username.
  • history_user_ip - filter by the IP address of the editor.
  • history_date - filter by history date. Supports the standard lookup types
  • history_type - filter by history type id, exact.

Ordering

You can order the result set by providing the ordering query parameter with the value of one of:

  • length
  • history_date

You can reverse ordering by using the - sign, e.g. -length.

GET /api/v4/maps_history/79082/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/maps_history/79082/", "page": "https://ja.localwiki.org/api/v4/pages_history/1401848/", "region": "https://ja.localwiki.org/api/v4/regions/954/", "points": null, "lines": null, "polys": { "type": "MultiPolygon", "coordinates": [ [ [ [ 139.64164936634035, 35.43826160641064 ], [ 139.6418639430585, 35.43784202674658 ], [ 139.64182102771665, 35.43721265315166 ], [ 139.64278662296192, 35.434555243732625 ], [ 139.64420282931445, 35.435744095630525 ], [ 139.64568340869772, 35.43590144236043 ], [ 139.64675629229757, 35.43621613489779 ], [ 139.64812958331726, 35.43768468380912 ], [ 139.6479579219409, 35.43894341869975 ], [ 139.64744293781192, 35.440307025955335 ], [ 139.6451684245597, 35.43936299262303 ], [ 139.64373076053627, 35.43862873682226 ], [ 139.64164936634035, 35.43826160641064 ] ] ] ] }, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Polygon", "coordinates": [ [ [ 139.64164936634035, 35.43826160641064 ], [ 139.6418639430585, 35.43784202674658 ], [ 139.64182102771665, 35.43721265315166 ], [ 139.64278662296192, 35.434555243732625 ], [ 139.64420282931445, 35.435744095630525 ], [ 139.64568340869772, 35.43590144236043 ], [ 139.64675629229757, 35.43621613489779 ], [ 139.64812958331726, 35.43768468380912 ], [ 139.6479579219409, 35.43894341869975 ], [ 139.64744293781192, 35.440307025955335 ], [ 139.6451684245597, 35.43936299262303 ], [ 139.64373076053627, 35.43862873682226 ], [ 139.64164936634035, 35.43826160641064 ] ] ] } ] }, "length": 0.0193146503208012, "history_comment": "\u6a2a\u6d5c\u5e02\u4e2d\u533a\u5c71\u624b\u753a\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002", "history_date": "2021-09-16T08:08:34.421", "history_type": 1, "history_user": "https://ja.localwiki.org/api/v4/users/108881/", "history_user_ip": "118.83.82.163" }