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 page slug. Supports the standard lookup types
  • region -- 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 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:

  • slug
  • history_date

You can reverse ordering by using the - sign, e.g. -slug.

GET /api/v4/pages_history/1423171/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/pages_history/1423171/", "name": "\u99c6\u9010\u8266\u4e94\u6708\u96e8\u6226\u6ca1\u8005\u6170\u970a\u306e\u7891", "slug": "\u99c6\u9010\u8266\u4e94\u6708\u96e8\u6226\u6ca1\u8005\u6170\u970a\u306e\u7891", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/destroyer-Samidare-war-dead-memorial.JPG\" style=\"width: 225px; height: 300px;\"><span style=\"width: 225px;\" class=\"image_caption\"><a href=\"%E6%97%A9%E5%B7%9D\">\u65e9\u5ddd</a>\u30fb<a href=\"%E6%9D%B1%E5%96%84%E9%99%A2\">\u6771\u5584\u9662</a>\u306e\u5893\u5730\u306b\u3042\u308b\u99c6\u9010\u8266\u4e94\u6708\u96e8\u6226\u6ca1\u8005\u6170\u970a\u306e\u7891</span></span><strong>\u99c6\u9010\u8266\u4e94\u6708\u96e8\u6226\u6ca1\u8005\u6170\u970a\u306e\u7891</strong>\uff08\u304f\u3061\u304f\u304b\u3093\u3055\u307f\u3060\u308c\u305b\u3093\u307c\u3064\u3057\u3083\u3044\u308c\u3044\u306e\u3072\uff09\u306f\u3001<a href=\"%E6%97%A9%E5%B7%9D\">\u65e9\u5ddd</a>\u306e<a href=\"%E6%9D%B1%E5%96%84%E9%99%A2\">\u6771\u5584\u9662</a>\u306e\u5893\u5730\u306b\u3042\u308b\u3001<a href=\"%E9%A7%86%E9%80%90%E8%89%A6%E3%83%BB%E4%BA%94%E6%9C%88%E9%9B%A8\">\u99c6\u9010\u8266\u30fb\u4e94\u6708\u96e8</a>\u306e\u6226\u6ca1\u8005\u306e\u6170\u970a\u7891\u3002<sub>\uff082022\u5e74\u8abf\u67fb\uff09</sub></p>\n<p>\n\t\u9298\u6587\u306b\u306f\u4e0b\u8a18\u306e\u6ca1\u65e5\u5225\u306e\u6226\u6ca1\u8005\u306e\u540d\u524d\u304c\u8a18\u3055\u308c\u3066\u3044\u308b\u3002</p>\n<ol>\n\t<li>\n\t\t\u662d\u548c17\u5e74\uff081942\uff0910\u670814\u65e5\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\t\u6589\u85e4\u660e \u4ee5\u4e0b10\u540d</li>\n\t\t</ul>\n\t</li>\n\t<li>\n\t\t\u662d\u548c18\u5e74\uff081943\uff0911\u67082\u65e5\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\t\u6d45\u898b\u6674\u4e09\u90ce \u4ee5\u4e0b6\u540d</li>\n\t\t</ul>\n\t</li>\n\t<li>\n\t\t\u662d\u548c19\u5e74\uff081944\uff098\u670826\u65e5\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\t\u4e0b\u6751\u91d1\u4fca \u4ee5\u4e0b37\u540d</li>\n\t\t</ul>\n\t</li>\n</ol>\n<h2>\n\t\u30ea\u30f3\u30af</h2>\n<ul>\n\t<li>\n\t\t\u8457\u8005\u4e0d\u660e\u300c<a href=\"https://senseki-kikou.net/?p=15100\">\u99c6\u9010\u8266\u4e94\u6708\u96e8\u6226\u6ca1\u8005\u6170\u970a\u4e4b\u7891\uff08\u5c0f\u7530\u539f\uff09</a>\u300d\u300e\u8fd1\u4ee3\u53f2\u8de1\uff65\u6226\u8de1\u7d00\u884c\uff5e\u6170\u970a\u5de1\u62dd\u300f2021\u5e745\u67085\u65e5</li>\n\t<li>\n\t\t\u307f\u3046\u3051\u3093\u300c<a href=\"https://www.miuken.net/entry/2020/08/14/000034\">\u6d77\u4e0a\u5b89\u5168\u3092\u5b88\u308b\u5de8\u5927\u9b5a\u7c43\u89b3\u97f3\u50cf\u3068 \u99c6\u9010\u8266\u4e94\u6708\u96e8\u306e\u6170\u970a\u7891\uff08\u5c0f\u7530\u539f\u5e02\uff09</a>\u300d\u300e\u307f\u3046\u3051\u3093\u306e\u6a2a\u6d5c\u539f\u4ed8\u7d00\u884c\u300f2020\u5e748\u670814\u65e5</li>\n\t<li>\n\t\t\u300c<a href=\"https://blog.goo.ne.jp/odawarahashibashi/e/957793e3098b3c66bf2cc81769b9354f\">\u5c0f\u7530\u539f\u5e02\u65e9\u5ddd\u3000\u6771\u5584\u9662\u306e\u99c6\u9010\u8266\u4e94\u6708\u96e8\u6226\u6ca1\u8005\u6170\u970a\u4e4b\u7891</a>\u300d\u5c0f\u7530\u539f\u306e\u7aef\u3005\u30012016\u5e7410\u670824\u65e5</li>\n</ul>\n<h2>\n\t\u53c2\u8003\u8cc7\u6599</h2>\n<ol>\n\t<li>\n\t\t\u6170\u970a\u7891\u306e\u7891\u9298\u30012022\u5e74\u8abf\u67fb</li>\n</ol>\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-07-02T21:55:19.950", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:496f:e98d:4756:6f4f" }