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/79191/
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/79191/", "page": "https://ja.localwiki.org/api/v4/pages_history/1403147/", "region": "https://ja.localwiki.org/api/v4/regions/358/", "points": { "type": "MultiPoint", "coordinates": [ [ -121.740607, 38.542276 ] ] }, "lines": null, "polys": null, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Point", "coordinates": [ -121.740607, 38.542276 ] } ] }, "length": 0.0, "history_comment": "\uc0cc\uc988\uce74\uc9c0\ub178 \uc778\ud130\ub137\ubc14\uce74\ub77c; \uce74\uc9c0\ub178\uc0ac\uc774\ud2b8 | \ub77c\uc774\ube0c\uce74\uc9c0\ub178 1 \ub144 \uc774\uc0c1 \ucd5c\uace0\uc758 \ubc14\uce74\ub77c\uc0ac\uc774\ud2b8\ub294 1952\ub144\ubd80\ud130 1996\ub144\uae4c\uc9c0 \ubbf8\uad6d \uc815\ub9d0 \uc815\ud1b5\ud574\uc11c \uc544\uc2dc\uc544 \ucd5c\uace0\uc758 \uc778\ud130\ub137\ubc14\uce74\ub77c \ud14c\uc774\ube14\ub124\ubc14\ub2e4\uc8fc \ub77c\uc2a4\ubca0\uc774\uac70\uc2a4 \uc2a4\ud2b8\ub9bd\uc5d0 \uc788\ub294 \uc5ed\uc0ac\uc801\uc778 \ubbf8\uad6d \ud638\ud154\uc774\uc790 \uce74\uc9c0\ub178\uc600\uc2b5\ub2c8\ub2e4. \uac74\ucd95\uac00 Wayne Mc", "history_date": "2021-10-13T20:05:09.589", "history_type": 1, "history_user": "https://ja.localwiki.org/api/v4/users/109275/", "history_user_ip": "136.158.1.235" }