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/1421859/
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/1421859/", "name": "\u5409\u5b89\u6a6b\u65b7\u9053\u8def\u958b\u947f\u8a18\u5ff5\u7891", "slug": "\u5409\u5b89\u6a6b\u65b7\u9053\u8def\u958b\u947f\u8a18\u5ff5\u7891", "content": "<h3>\n\t\u00a0</h3>\n<p>\n\t<strong>\u5409\u5b89\u6a6b\u65b7\u9053\u8def\u958b\u947f\u8a18\u5ff5\u7891</strong>\uff0c\u4f4d\u65bc\u81fa\u7063\u82b1\u84ee\u7e23\u5409\u5b89\u9109\u5e72\u57ce\u6751\u81fa9\u4e19\u7dda\u65c1\uff08<a href=\"https://www.google.com.tw/maps/place/23.94886,121.52325\" class=\"btn-location-link\">973 \u82b1\u84ee\u7e23\u5409\u5b89\u9109\u521d\u97f3\u6bb51070\u5730\u865f</a>\uff09\uff0c\u662f\u65e5\u6cbb\u6642\u671f\u80fd\u9ad8\u6a6b\u65b7\u9053\u8def\u958b\u947f\u4f5c\u696d\u968a\u6240\u7acb\u7684\u7d00\u5ff5\u7891\uff0c\u4ee5\u7d00\u5ff5\u5927\u6b63\u516d\u5e74\uff081917\u5e74\uff099\u670815\u65e5\u81f3\u4e03\u5e74\uff081918\u5e74\uff091\u670830\u65e5\u9593\u80fd\u9ad8\u6a6b\u65b7\u9053\u8def\u6771\u6bb5\uff08\u521d\u97f3\u81f3\u5947\u840a\u4e3b\u5cf0\uff09\u5b8c\u5de5\u901a\u884c\u3002</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/3574408193903.jpeg\" style=\"width: 300px; height: 200px;\"></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n&lt;div&gt;\n\t&lt;div&gt;\n\t\t<hr>\n\t\t<p>\n\t\t\t\u5927\u6b636\u5e74(1917)9\u670815\u65e5\uff0c\u65e5\u672c\u4eba\u958b\u947f\u80fd\u9ad8\u9053\u6771\u6bb5\uff0c\u65bc\u9694\u5e741\u670830\u65e5\u7ae3\u5de5\uff0c\u9577\u7d04\u56db\u5341\u56db\u516c\u91cc\uff0c\u65e5\u4eba\u7a31\u70ba\u300c\u80fd\u9ad8\u8d8a\u9053\u8def\u300d\u3002\u6839\u64da\u8a18\u8f09\uff0c\u80fd\u9ad8\u8d8a\u9053\u8def\u8d77\u9ede\u5f9e\u82b1\u84ee\u6e2f\u9435\u8def\u5357\u4e0b\u7d04\u5341\u4e8c\u516c\u91cc\u8655\u7684\u521d\u97f3\u7ad9(\u5373\u4eca\u5e72\u57ce\u8eca\u7ad9)\u8d77\uff0c\u6cbf\u6728\u74dc\u6eaa\u7d93\u904e\u300c\u5df4\u90fd\u862d\u8543\u793e\u300d\uff0c\u518d\u6500\u8d8a\u6d77\u62d4\u4e8c\u56db\u4e8c\u56db\u516c\u5c3a\u7684\u5cfb\u5ced\u5929\u9577\u5c71\uff0c\u7d93\u6850\u91cc\u3001\u5742\u908a\u3001\u5947\u840a\u5c71\u838a\u3001\u6771\u80fd\u9ad8\u5230\u9054\u7e23\u754c\uff0c\u518d\u8de8\u8d8a\u7a1c\u7dda\u6d77\u62d4\u4e8c\u516b\u4e00\u516b\u516c\u5c3a\u7684\u5947\u840a\u4e3b\u5cf0\uff0c\u5230\u5bcc\u58eb\u63a5\u5408\u6b61\u6a6b\u8cab\u9053\u5f80\u9727\u793e\uff0c\u5373\u662f\u80fd\u9ad8\u8d8a\u9053\u8def\uff0c\u6b64\u8def\u7531\u521d\u97f3\u5230\u9727\u793e\u5168\u9577\u4e5d\u5341\u516c\u91cc\u3002<br>\n\t\t\t<br>\n\t\t\t\u6a6b\u65b7\u9053\u8def\u958b\u947f\u8a18\u5ff5\u7891\u70ba\u9ad8\u7d04\u4e00\u516d\u25cb\u516c\u5206\uff0c\u5bec\u7d04\u4e03\u56db\u516c\u5206\u4e4b\u7384\u6b66\u5ca9\u7891\u77f3\uff0c\u6b64\u958b\u947f\u8a18\u5ff5\u7891\u53ca\u6a6b\u65b7\u9053\u8def\u958b\u947f\u6b89\u8077\u8005\u4e4b\u7891\u539f\u8c4e\u7acb\u65bc\u81fa\u4e5d\u7dda(\u4eca\u81fa\u4e5d\u4e19\u516c\u8def)\u7684\u5de6\u53f3\u5169\u5074\uff0c\u6b89\u8077\u8005\u4e4b\u7891\u539f\u9762\u5c0d\u897f\u5be7\u5bfa\u7684\u53f3\u5074\u5927\u6a39\u9644\u8fd1\uff0c\u5f8c\u4f86\u56e0\u70ba\u9053\u8def\u62d3\u5bec\u95dc\u4fc2\uff0c\u624d\u5c07\u6b89\u8077\u8005\u4e4b\u7891\u79fb\u5230\u73fe\u4eca\u7684\u4f4d\u7f6e\u3002</p>\n\t&lt;/div&gt;\n&lt;/div&gt;\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/2645/", "history_comment": "\u65b0\u589e\u9801\u9762", "history_date": "2022-06-12T14:30:17.290", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/113413/", "history_user_ip": "2001:b400:e2df:a4b5:906d:45a7:2b2e:bd18" }