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/1414515/
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/1414515/", "name": "\u5bcc\u58eb\u5c71", "slug": "\u5bcc\u58eb\u5c71", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/fujisan-from-sogayatsu.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\"><a href=\"%E6%9B%BD%E6%88%91%E8%B0%B7%E6%B4%A5\">\u66fd\u6211\u8c37\u6d25</a>\u30fb<a href=\"%E5%9F%8E%E5%89%8D%E5%AF%BA\">\u57ce\u524d\u5bfa</a>\u524d\u304b\u3089\u306e\u5bcc\u58eb\u5c71</span></span><strong>\u5bcc\u58eb\u5c71</strong>\uff08\u3075\u3058\u3055\u3093\uff09\u306f\u3001\u5c0f\u7530\u539f\u306e\u5c11\u3057\u5317\u30fb\u6771\u306e\u65b9\u304b\u3089\u898b\u3048\u308b\u5c71\u3067\u3042\u308b\u3002\u6a19\u9ad83,776m\u3001\u65e5\u672c\u6700\u9ad8\u5cf0\u3002</p>\n<h2>\n\t\u30ea\u30f3\u30af</h2>\n<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/fujisan-from-naruda.JPG\" style=\"width: 300px; height: 207px;\"><span style=\"width: 300px;\" class=\"image_caption\"><a href=\"%E6%88%90%E7%94%B0\">\u6210\u7530</a>\u304b\u3089\u306e\u5bcc\u58eb\u5c71</span></span></p>\n<ul>\n\t<li>\n\t\t<a href=\"https://www.facebook.com/hashtag/%E5%B0%8F%E7%94%B0%E5%8E%9F%E3%81%AE%E5%AF%8C%E5%A3%AB%E5%B1%B1\">facebook #\u5c0f\u7530\u539f\u306e\u5bcc\u58eb\u5c71</a></li>\n\t<li>\n\t\t<a href=\"http://www.anrakuin.com/topic?id=12\">\u56fd\u5e9c\u6d25 \u5b89\u697d\u9662 \u3042\u308b\u65e5\u306e\u5bcc\u58eb\u5c71</a></li>\n\t<li>\n\t\t\u56fd\u571f\u4ea4\u901a\u7701\u95a2\u6771\u5730\u65b9\u6574\u5099\u5c40 \u30db\u30fc\u30e0 \uff1e \u5730\u57df\u3065\u304f\u308a\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\t<a href=\"https://www.ktr.mlit.go.jp/chiiki/fuji100.html\">\u95a2\u6771\u306e\u5bcc\u58eb\u898b\u767e\u666f</a></li>\n\t\t\t<li>\n\t\t\t\t<a href=\"https://www.ktr.mlit.go.jp/chiiki/chiiki00000068.html\">\u95a2\u6771\u306e\u5bcc\u58eb\u898b\u767e\u666f \u6848\u5185\u30ac\u30a4\u30c9</a></li>\n\t\t\t<li>\n\t\t\t\t<a href=\"https://www.ktr.mlit.go.jp/ktr_content/content/000745221.pdf\">79 \u5c0f\u7530\u539f\u5e02\u304b\u3089\u306e\u5bcc\u58eb\uff08pdf\uff09</a></li>\n\t\t</ul>\n\t</li>\n</ul>\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-03-15T05:04:02.142", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:9014:8461:f428:ce07" }