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/1419281/
https://zh.localwiki.org/api/v4/pages_history/1419281/", "name": "\u6b63\u5bff\u9662", "slug": "\u6b63\u5bff\u9662", "content": "<p>\n\t<strong>\u6b63\u5bff\u9662</strong>\uff08\u3057\u3087\u3046\u3058\u3085\u3044\u3093\uff09\u3001\u9752\u738b\u5c71\u89b3\u97f3\u5bfa\u306f\u3001<a href=\"%E7%B1%B3%E7%A5%9E\">\u7c73\u795e</a>\u306b\u3042\u308b<a href=\"%E7%9C%9F%E8%A8%80%E5%AE%97%E6%9D%B1%E5%AF%BA%E6%B4%BE\">\u771f\u8a00\u5b97\u6771\u5bfa\u6d3e</a>\u306e<a href=\"%E5%AF%BA%E9%99%A2\">\u5bfa\u9662</a>\u3002\u672c\u5c0a\u306f<a href=\"%E4%B8%8D%E5%8B%95%E6%98%8E%E7%8E%8B\">\u4e0d\u52d5\u660e\u738b</a>\u3002\u958b\u5c71\u306f\u9577\u5fb9\uff08\u5bdb\u6c3810\u5e74\u30fb1633\u6ca1\uff09\u3002\u6c5f\u6238\u6642\u4ee3\u306b\u306f<a href=\"%E5%9B%BD%E5%BA%9C%E6%B4%A5\">\u56fd\u5e9c\u6d25</a>\u30fb<a href=\"%E5%AE%9D%E9%87%91%E5%89%9B%E5%AF%BA\">\u5b9d\u91d1\u525b\u5bfa</a>\u306e\u672b\u5bfa\u3060\u3063\u305f\u3002<sup>(1)</sup></p>\n<h2>\n\t\u5883\u5185</h2>\n<h3>\n\t\u89b3\u97f3\u5802</h3>\n<p>\n\t\u5883\u5185\u306e\u89b3\u97f3\u5802\u306b<a href=\"%E5%8D%81%E4%B8%80%E9%9D%A2%E8%A6%B3%E9%9F%B3\">\u5341\u4e00\u9762\u89b3\u97f3</a>\u304c\u5b89\u7f6e\u3055\u308c\u3066\u3044\u305f<sup>(1)</sup>\u3002</p>\n<h3>\n\t\u9418\u697c</h3>\n<p>\n\t\u5883\u5185\u306e\u9418\u697c\u306b\u3001\u5bdb\u653f3\u5e74\uff081791\uff09\u92f3\u9020\u306e\u9418\u304c\u639b\u3051\u3089\u308c\u3066\u3044\u305f<sup>(1)</sup>\u3002</p>\n<h2>\n\t\u5bfa\u7d0b</h2>\n<p>\n\t\u5bfa\u7d0b\u306f<a href=\"%E4%BA%94%E4%B8%89%E6%A1%90\">\u4e94\u4e09\u6850</a>\u3002<sub>\uff082019\u5e74\u8abf\u67fb\uff09</sub></p>\n<h2>\n\t\u53c2\u8003\u8cc7\u6599</h2>\n<ol>\n\t<li>\n\t\t\u300e<a href=\"https://dl.ndl.go.jp/info:ndljp/pid/1179210/79\">\u98a8\u571f\u8a18\u7a3f</a>\u300f</li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-13T22:12:30.018", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:b058:dd18:45d3:106e" }{ "url": "