Historical Page Instance
API endpoint for viewing page history.
Filter fields
You can filter the result set by providing the following query parameters:
name
-- Filter by name, exact.slug
-- Filter by pageslug
. Supports the standard lookup typesregion
-- Filter by region. Allows for chained filtering on all of the filters available on the region resource, e.g.region__slug
.
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:
slug
history_date
You can reverse ordering by using the -
sign, e.g. -slug
.
GET /api/v4/pages_history/1420411/
https://zh.localwiki.org/api/v4/pages_history/1420411/", "name": "\u571f\u7802\u707d\u5bb3\u8b66\u6212\u533a\u57df", "slug": "\u571f\u7802\u707d\u5bb3\u8b66\u6212\u533a\u57df", "content": "<p>\n\t<strong>\u571f\u7802\u707d\u5bb3\u8b66\u6212\u533a\u57df</strong>\uff08\u3069\u3057\u3083\u3055\u3044\u304c\u3044\u3051\u3044\u304b\u3044\u304f\u3044\u304d\uff09</p>\n<p>\n\t<a href=\"tags%2F%E5%9C%9F%E7%A0%82%E7%81%BD%E5%AE%B3%E7%89%B9%E5%88%A5%E8%AD%A6%E6%88%92%E5%8C%BA%E5%9F%9F\" class=\"plugin includetag includepage_showtitle\">\"\u571f\u7802\u707d\u5bb3\u7279\u5225\u8b66\u6212\u533a\u57df\" \u30bf\u30b0\u306e\u4ed8\u3044\u305f\u30da\u30fc\u30b8</a></p>\n<p>\n\t<a href=\"tags%2F%E5%9C%9F%E7%A0%82%E7%81%BD%E5%AE%B3%E8%AD%A6%E6%88%92%E5%8C%BA%E5%9F%9F\" class=\"plugin includetag includepage_showtitle\">\"\u571f\u7802\u707d\u5bb3\u8b66\u6212\u533a\u57df\" \u30bf\u30b0\u306e\u4ed8\u3044\u305f\u30da\u30fc\u30b8</a></p>\n<h2>\n\t\u53c2\u8003\u8cc7\u6599</h2>\n<ol>\n\t<li>\n\t\t<a href=\"https://dosyasaigai.pref.kanagawa.jp/php/map.php?mapmode=kuiki\">\u795e\u5948\u5ddd\u770c\u571f\u7802\u707d\u5bb3\u60c5\u5831\u30dd\u30fc\u30bf\u30eb</a></li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-27T03:26:50.619", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:80b8:97c9:37cc:9c7c" }{ "url": "