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/1420648/
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/1420648/", "name": "\u5c0f\u7530\u539f\u6559\u4f1a", "slug": "\u5c0f\u7530\u539f\u6559\u4f1a", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/odawarakyokai.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u5c0f\u7530\u539f\u6559\u4f1a</span></span><strong>\u5c0f\u7530\u539f\u6559\u4f1a</strong>\uff08\u304a\u3060\u308f\u3089\u304d\u3087\u3046\u304b\u3044\uff09\u306f\u3001<a href=\"%E6%B5%9C%E7%94%BA\">\u6d5c\u753a</a>1\u4e01\u76ee\u306b\u3042\u308b<a href=\"%E6%97%A5%E8%93%AE%E6%AD%A3%E5%AE%97\">\u65e5\u84ee\u6b63\u5b97</a>\u306e<a href=\"%E5%AF%BA%E9%99%A2\">\u5bfa\u9662</a><sup>(1)</sup>\u3002</p>\n<h2>\n\t\u5bfa\u7d0b</h2>\n<p>\n\t\u5bfa\u7d0b\u306f\u300c\u9db4\u306e\u4e38\u300d\u3002<sub>\uff082019\u5e74\u8abf\u67fb\uff09</sub></p>\n<h2>\n\t\u30ea\u30f3\u30af</h2>\n<ul>\n\t<li>\n\t\t\u305f\u304b\u307c\u30938160\u30fb\u3067\u3053\u308a\u30930805\u3001<a href=\"http://www7b.biglobe.ne.jp/takabon8160/index.html\">\u305f\u304b\u307c\u3093\uff06\u3067\u3053\u308a\u3093\u30db\u30fc\u30e0\u30da\u30fc\u30b8</a> \uff1e \u65e5\u84ee\u6b63\u5b97\u5bfa\u9662\u4e00\u89a7 \uff1e <a href=\"http://www7b.biglobe.ne.jp/takabon8160/nitirenshoushuujiinitiran-minamikantou-odawarakyoukaigudouin.html\">\u5c0f\u7530\u539f\u6559\u4f1a\u5f18\u9053\u9662</a>\u300d\u6700\u7d42\u66f4\u65b0 2020\u5e749\u670826\u65e5</li>\n</ul>\n<h2>\n\t\u53c2\u8003\u8cc7\u6599</h2>\n<ol>\n\t<li>\n\t\t\u795e\u5948\u5ddd\u770c\u30db\u30fc\u30e0 \uff1e \u6559\u80b2\u30fb\u6587\u5316\u30fb\u30b9\u30dd\u30fc\u30c4 \uff1e \u6587\u5316\u30fb\u82b8\u8853 \uff1e \u5b97\u6559\u6cd5\u4eba \uff1e \u5b97\u6559\u6cd5\u4eba\u306b\u3064\u3044\u3066 \uff1e \u795e\u5948\u5ddd\u770c\u77e5\u4e8b\u6240\u8f44\u306e\u5b97\u6559\u6cd5\u4eba \uff1e \u5b97\u6559\u6cd5\u4eba\u540d\u7c3f\uff08\u4ee4\u548c3\u5e741\u67081\u65e5\u73fe\u5728\uff09 \uff1e <a href=\"https://www.pref.kanagawa.jp/documents/70377/7sonota1.pdf\">\u305d\u306e\u4ed61 \u5b97\u6559\u6cd5\u4eba\u540d\u7c3f\uff08PDF\uff1a708KB\uff09</a></li>\n\t<li>\n\t\t<a href=\"https://www.nichirenshoshu.or.jp/jpn/jptemples/0912.htm\">\u65e5\u84ee\u6b63\u5b97\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8 \u5c0f\u7530\u539f\u6559\u4f1a</a>\u3001\u6700\u7d42\u66f4\u65b0 2021\u5e7412\u670831\u65e5</li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-31T05:53:04.306", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:65fe:e220:c741:899" }