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:
points
-- Filter by the points, if present. Supports the standard geographic lookup typeslines
-- Filter by the lines, if present. Supports the standard geographic lookup typespolys
-- Filter by the polygons, if present. Supports the standard geographic lookup typespage
-- Filter by page. Allows for chained filtering on all of the filters available on the page resource, e.g.page__slug
.region
-- Filter by region. Allows for chained filtering on all of the filters available on the region resource, e.g.region__slug
.length
-- Filter by length of the geography. Supports the standard lookup types
And the usual set of historical filter fields:
history_user
- filter by theuser
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 typeshistory_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/79564/
https://zh.localwiki.org/api/v4/maps_history/79564/", "page": "https://zh.localwiki.org/api/v4/pages_history/1403344/", "region": "https://zh.localwiki.org/api/v4/regions/219/", "points": { "type": "MultiPoint", "coordinates": [ [ -120.67847509758593, 35.24142392046835 ], [ -120.6583799876517, 35.2767998848006 ], [ -120.64302970545889, 35.26929345416489 ], [ -120.71434696094154, 35.19349236407195 ], [ -120.62920291798217, 35.26465501456338 ], [ -120.66342254059619, 35.255424429279074 ], [ -120.65032263177689, 35.286598926657945 ], [ -120.66205997842543, 35.27645692559841 ], [ -120.63526202815494, 35.264335409740056 ], [ -120.68465758937771, 35.26069689029204 ], [ -120.6878655113553, 35.26286945454833 ], [ -120.65736343044139, 35.26929044307749 ], [ -120.65427352564936, 35.2781020490742 ], [ -120.66778113025207, 35.28713163671425 ], [ -120.70004274028015, 35.25995224801114 ], [ -120.6350072182847, 35.265063008129694 ], [ -120.65428693667909, 35.262573342292434 ], [ -120.63833852186335, 35.26419397313527 ], [ -120.65914173499179, 35.26411264374767 ], [ -120.65588016883241, 35.267336291971226 ], [ -120.66414673700992, 35.27596417580525 ], [ -120.62988956347853, 35.24737914848253 ], [ -120.65988738911238, 35.28503720711618 ] ] }, "lines": null, "polys": null, "geom": { "type": "GeometryCollection", "geometries": [ { "type": "Point", "coordinates": [ -120.67847509758593, 35.24142392046835 ] }, { "type": "Point", "coordinates": [ -120.6583799876517, 35.2767998848006 ] }, { "type": "Point", "coordinates": [ -120.64302970545889, 35.26929345416489 ] }, { "type": "Point", "coordinates": [ -120.71434696094154, 35.19349236407195 ] }, { "type": "Point", "coordinates": [ -120.62920291798217, 35.26465501456338 ] }, { "type": "Point", "coordinates": [ -120.66342254059619, 35.255424429279074 ] }, { "type": "Point", "coordinates": [ -120.65032263177689, 35.286598926657945 ] }, { "type": "Point", "coordinates": [ -120.66205997842543, 35.27645692559841 ] }, { "type": "Point", "coordinates": [ -120.63526202815494, 35.264335409740056 ] }, { "type": "Point", "coordinates": [ -120.68465758937771, 35.26069689029204 ] }, { "type": "Point", "coordinates": [ -120.6878655113553, 35.26286945454833 ] }, { "type": "Point", "coordinates": [ -120.65736343044139, 35.26929044307749 ] }, { "type": "Point", "coordinates": [ -120.65427352564936, 35.2781020490742 ] }, { "type": "Point", "coordinates": [ -120.66778113025207, 35.28713163671425 ] }, { "type": "Point", "coordinates": [ -120.70004274028015, 35.25995224801114 ] }, { "type": "Point", "coordinates": [ -120.6350072182847, 35.265063008129694 ] }, { "type": "Point", "coordinates": [ -120.65428693667909, 35.262573342292434 ] }, { "type": "Point", "coordinates": [ -120.63833852186335, 35.26419397313527 ] }, { "type": "Point", "coordinates": [ -120.65914173499179, 35.26411264374767 ] }, { "type": "Point", "coordinates": [ -120.65588016883241, 35.267336291971226 ] }, { "type": "Point", "coordinates": [ -120.66414673700992, 35.27596417580525 ] }, { "type": "Point", "coordinates": [ -120.62988956347853, 35.24737914848253 ] }, { "type": "Point", "coordinates": [ -120.65988738911238, 35.28503720711618 ] } ] }, "length": 0.0, "history_comment": null, "history_date": "2022-01-14T13:53:01.581", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/9703/", "history_user_ip": "2600:1700:1930:a180:66c9:94e1:a8c9:12aa" }{ "url": "