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/1423163/
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/1423163/", "name": "\u65e9\u5ddd\u89b3\u97f3", "slug": "\u65e9\u5ddd\u89b3\u97f3", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/hayakawa-kannon.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u65e9\u5ddd\u89b3\u97f3</span></span><strong>\u65e9\u5ddd\u89b3\u97f3</strong>\uff08\u306f\u3084\u304b\u308f\u304b\u3093\u306e\u3093\uff09\u306f\u3001<a href=\"%E6%97%A9%E5%B7%9D\">\u65e9\u5ddd</a>\u306e<a href=\"%E7%9C%9F%E7%A6%8F%E5%AF%BA\">\u771f\u798f\u5bfa</a>\u306e\u5883\u5185\u306b\u3042\u308b\u89b3\u97f3\u5802\u3002\u300e\u98a8\u571f\u8a18\u7a3f\u300f\u306b\u3088\u308b\u3068\u3001\u50cf\u9ad83\u5c3a2\u5bf8\uff08\u7d0497cm\uff09\u3067\u3001<a href=\"https://ja.localwiki.org/odawara/%E8%81%96%E5%BE%B3%E5%A4%AA%E5%AD%90\" class=\"missing_link\">\u8056\u5fb3\u592a\u5b50</a>\u4f5c\u3068\u3055\u308c\u308b<a href=\"https://ja.localwiki.org/odawara/%E8%81%96%E8%A6%B3%E9%9F%B3\" class=\"missing_link\">\u8056\u89b3\u97f3</a>\u50cf\u304c\u5b89\u7f6e\u3055\u308c\u3066\u3044\u305f\u3002<sup>(1)</sup></p>\n<h2>\n\t\u30ea\u30f3\u30af</h2>\n<ul>\n\t<li>\n\t\t\u300c<a href=\"https://hirahaku.jp/kyoushitsu_circle/mintan/mintan0911.html\">\u76f8\u6a21\u6e7e\u306e\u6c11\u4fd7\u3000\u7b2c\uff15\u56de\u30002009\u5e7411\u670818\u65e5\u300c\u5c0f\u7530\u539f\u99c5\u301c\u65e9\u5ddd\u99c5\u300d</a>\u300d\u5e73\u585a\u5e02\u535a\u7269\u9928\u516c\u5f0f\u30da\u30fc\u30b8\u3001\u66f4\u65b0\u6642\u671f\u4e0d\u660e<br>\n\t\t\u300c<a href=\"http://www.odawara-gaido.com/11bunngaku/syousaibungaku.html#hayakawakannon\">\u304a\u3059\u3059\u3081\u30b3\u30fc\u30b9\u3000\uff11\uff11\u3000\u304a\u3060\u308f\u3089\u6587\u5b66\u6563\u6b69\u3000\u65e9\u5ddd\u89b3\u97f3</a>\u300dNPO\u6cd5\u4eba \u5c0f\u7530\u539f\u30ac\u30a4\u30c9\u5354\u4f1a\u3001\u66f4\u65b0\u6642\u671f\u4e0d\u660e</li>\n</ul>\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/75\">\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-07-02T20:00:41.361", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:496f:e98d:4756:6f4f" }