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/1423019/
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/1423019/", "name": "\u5df4\u5fa1\u524d\u3068\u6728\u66fd\u7fa9\u4ef2\u306e\u5893", "slug": "\u5df4\u5fa1\u524d\u3068\u6728\u66fd\u7fa9\u4ef2\u306e\u5893", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/tombs-of-Tomoe-gozen-and-Kiso-Yoshinaka.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u5df4\u5fa1\u524d\u3068\u6728\u66fd\u7fa9\u4ef2\u306e\u5893</span></span><strong>\u5df4\u5fa1\u524d\u3068\u6728\u66fd\u7fa9\u4ef2\u306e\u5893</strong>\uff08\u3068\u3082\u3048\u3054\u305c\u3093\u3068\u304d\u305d\u3088\u3057\u306a\u304b\u306e\u306f\u304b\uff09\u306f\u30012022\u5e74\u73fe\u5728\u3001<a href=\"%E6%A0%A2%E5%B1%B1\">\u6822\u5c71</a>\u306e<a href=\"%E5%96%84%E6%A0%84%E5%AF%BA\">\u5584\u6804\u5bfa</a>\u306e\u672c\u5802\u524d\u306b\u3042\u308b\u3001<a href=\"%E6%9C%A8%E6%9B%BD%E7%BE%A9%E4%BB%B2\">\u6728\u66fd\u7fa9\u4ef2</a>\u306e\u59be\u3060\u3063\u305f<a href=\"%E5%B7%B4%E5%BE%A1%E5%89%8D\">\u5df4\u5fa1\u524d</a>\u3068\u6728\u66fd\u7fa9\u4ef2\u306e\u5893\u3002</p>\n<h2>\n\t\u958b\u57fa\uff1f\u5df4\u5fa1\u524d</h2>\n<p>\n\t\u300e<a href=\"%E9%A2%A8%E5%9C%9F%E8%A8%98%E7%A8%BF\">\u98a8\u571f\u8a18\u7a3f</a>\u300f\u306e\u3068\u304d\u3001\u5584\u6804\u5bfa\u306b\u306f\u5df4\u5973\u306e\u4f4d\u724c\u304c\u3042\u3063\u3066\u3001\u6cd5\u53f7\uff1a\u5584\u6804\u5bfa\u5982\u610f\u8c9e\u4fe1\u3068\u3055\u308c\u3066\u304a\u308a\u3001\u540c\u5bfa\u306e\u958b\u57fa\u3068\u3055\u308c\u3066\u3044\u305f<sup>(1)</sup>\u3002</p>\n<p>\n\t\u3053\u308c\u306b\u5bfe\u3057\u3066\u300e\u98a8\u571f\u8a18\u7a3f\u300f\u306f\u3001\u300e<a href=\"https://ja.localwiki.org/odawara/%E6%BA%90%E5%B9%B3%E7%9B%9B%E8%A1%B0%E8%A8%98\" class=\"missing_link\">\u6e90\u5e73\u76db\u8870\u8a18</a>\u300f\u306b\u3088\u308b\u3068\u3001\u5df4\u5fa1\u524d\u306f\u6728\u66fd\u7fa9\u4ef2\u304c\u6ca1\u843d\u3057\u305f\u5f8c\u3001\u4fe1\u6fc3\u56fd\u306b\u843d\u3061\u4f38\u3073\u305f\u304c\u3001\u938c\u5009\u306b\u53ec\u3057\u4e0a\u3052\u3089\u308c\u3001<a href=\"%E5%92%8C%E7%94%B0%E7%BE%A9%E7%9B%9B\">\u548c\u7530\u7fa9\u76db</a>\u304c\u7533\u3057\u53d7\u3051\u3066\u305d\u306e\u59bb\u3068\u306a\u308a\u3001<a href=\"%E6%9C%9D%E6%AF%94%E7%BE%A9%E7%A7%80\">\u671d\u6bd4\u5948\u4e09\u90ce\u7fa9\u79c0</a>\u3092\u7523\u3093\u3060\u3002<a href=\"%E5%92%8C%E7%94%B0%E5%90%88%E6%88%A6\">\u548c\u7530\u5408\u6226</a>\u3067\u7fa9\u79c0\u304c\u8a0e\u305f\u308c\u305f\u5f8c\u3001\u8d8a\u4e2d\u56fd\u3078\u884c\u304d\u3001\u77f3\u9ed2\u67d0\u3092\u983c\u3063\u3066\u51fa\u5bb6\u3057\u300191\u6b73\u3067\u6b7b\u53bb\u3057\u305f\u3068\u3055\u308c\u3066\u3044\u308b\u3002\u4e09\u6d66\u90e1\u5ca9\u6238\u6751\uff08\u6a2a\u9808\u8cc0\u5e02\u5ca9\u6238\uff09\u306b\u3082\u5df4\u5fa1\u524d\u306e\u5893\u3068\u547c\u3070\u308c\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308b\u304c\u3001\u5168\u304f\u306e\u865a\u69cb\u306b\u5c5e\u3059\u308b\u3001\u3068\u8a55\u3057\u3066\u3044\u308b\u3002<sup>(1)</sup></p>\n<h2>\n\t\u518d\u5efa\u6642\u671f</h2>\n<p>\n\t\u6728\u66fd\u7fa9\u4ef2\u306e\u4e94\u8f2a\u5854\u306e\u5730\u8f2a\u306e\u88cf\u9762\u306b\u306f\u300c\u7fa9\u4ef2\u516c\uff0f\u5bff\u6c38\u4e09\u7532\u8fb0\u5e74\uff081184\uff09\uff0f\u6b63\u6708\u5eff\u4e00\u65e5\uff0f\u65bc\u8fd1\u6c5f\u56fd\u5352\u3000\u660e\u6cbb\u5341\u4e00\u620a\u5bc5\u5e74\uff081878\uff09\uff0f\u4e09\u6708\u5eff\u4e00\u65e5\u518d\u5efa\u4e4b\uff0f\u5f53\u5bfa\uff0f\u5eff\u4e8c\u4e16\uff0f\u9451\u7d0d\u592a\u524d\u4ee3\u300d\u3001\u540c\u3058\u304f\u5df4\u5fa1\u524d\u306f\u300c\u5df4\u5fa1\u524d\uff0f\u4ec1\u6cbb\u5143\u5e9a\u5b50\u5e74\uff081240\uff09\uff0f\u4e94\u6708\u5341\u4e94\u65e5\uff0f\u65bc\u8d8a\u4e2d\u56fd\u5352\u3000\u660e\u6cbb\u5341\u4e00\u620a\u5bc5\u5e74\uff0f\u4e09\u6708\u5eff\u4e00\u65e5\u518d\u5efa\u4e4b\uff0f\u5f53\u5bfa\uff0f\u5eff\u4e8c\u4e16\uff0f\u9451\u7d0d\u592a\u524d\u4ee3\u300d\u3068\u3042\u308a<sub>\uff082022\u5e74\u8abf\u67fb\uff09</sub>\u3001\u3044\u305a\u308c\u30821878\u5e74\uff08\u660e\u6cbb11\uff09\u306b\u518d\u5efa\u3055\u308c\u305f\u3082\u306e\u3068\u307f\u3089\u308c\u308b\u3002</p>\n<h2>\n\t\u53c2\u8003\u8cc7\u6599</h2>\n<ol>\n\t<li>\n\t\t<a href=\"https://dl.ndl.go.jp/info:ndljp/pid/1179198/90\">\u300e\u98a8\u571f\u8a18\u7a3f\u300f\u6822\u5c71\u6751 \u5584\u6804\u5bfa</a></li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-06-30T22:59:24.043", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "222.2.37.29" }