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/79072/
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/79072/", "page": "https://ja.localwiki.org/api/v4/pages_history/1401802/", "region": "https://ja.localwiki.org/api/v4/regions/954/", "points": null, "lines": null, "polys": { "type": "MultiPolygon", "coordinates": [ [ [ [ 139.6460205, 35.4439312 ], [ 139.6463449, 35.4438682 ], [ 139.6465451, 35.4443871 ], [ 139.6466475, 35.4446432 ], [ 139.646684, 35.444655 ], [ 139.6473938, 35.44441849999998 ], [ 139.6479302, 35.4441038 ], [ 139.647544, 35.443763 ], [ 139.6481073, 35.441569 ], [ 139.6447062, 35.44114949999999 ], [ 139.6445989, 35.4411451 ], [ 139.6444836, 35.4411145 ], [ 139.6422922, 35.4423251 ], [ 139.6431693, 35.44345480000001 ], [ 139.6440142, 35.44300250000001 ], [ 139.6440813, 35.4430418 ], [ 139.6439498, 35.443527 ], [ 139.6459374, 35.443879899999985 ], [ 139.6460205, 35.4439312 ] ] ] ] }, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Polygon", "coordinates": [ [ [ 139.6460205, 35.4439312 ], [ 139.6463449, 35.4438682 ], [ 139.6465451, 35.4443871 ], [ 139.6466475, 35.4446432 ], [ 139.646684, 35.444655 ], [ 139.6473938, 35.44441849999998 ], [ 139.6479302, 35.4441038 ], [ 139.647544, 35.443763 ], [ 139.6481073, 35.441569 ], [ 139.6447062, 35.44114949999999 ], [ 139.6445989, 35.4411451 ], [ 139.6444836, 35.4411145 ], [ 139.6422922, 35.4423251 ], [ 139.6431693, 35.44345480000001 ], [ 139.6440142, 35.44300250000001 ], [ 139.6440813, 35.4430418 ], [ 139.6439498, 35.443527 ], [ 139.6459374, 35.443879899999985 ], [ 139.6460205, 35.4439312 ] ] ] } ] }, "length": 0.0165935937012039, "history_comment": null, "history_date": "2021-09-16T04:25:14.844", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/108891/", "history_user_ip": "2409:11:5800:a00:e40a:accb:f964:2400" }