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/1408606/
https://zh.localwiki.org/api/v4/pages_history/1408606/", "name": "\u9632\u707d\u9053\u306e\u99c5\u3000\u4e2d\u56fd\u5730\u65b9", "slug": "\u9632\u707d\u9053\u306e\u99c5 \u4e2d\u56fd\u5730\u65b9", "content": "<p>\n\t\u9632\u707d\u9053\u306e\u99c5\u3000\u4e2d\u56fd\u5730\u65b9</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u5ca1\u5c71\u770c\uff1a<a href=\"https://ja.localwiki.org/bosai-top/%E9%81%93%E3%81%AE%E9%A7%85%E3%80%80%E3%81%BF%E3%82%84%E3%81%BE%E5%85%AC%E5%9C%92\">\u7389\u91ce\u5e02\u3000\u307f\u3084\u307e\u516c\u5712</a></p>\n<p>\n\t\u5e83\u5cf6\u770c\uff1a\u6771\u5e83\u5cf6\u5e02\u3000\u897f\u6761\u306e\u3093\u592a\u306e\u9152\u8535</p>\n<p>\n\t\u5c71\u53e3\u770c\uff1a\u5468\u5357\u5e02 \u30bd\u30ec\u30fc\u30cd\u5468\u5357</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/2632/", "history_comment": null, "history_date": "2022-01-11T02:15:08.820", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/110456/", "history_user_ip": "221.12.225.155" }{ "url": "