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/1419591/
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/1419591/", "name": "\u52dd\u5b89\u5bae", "slug": "\u52dd\u5b89\u5bae", "content": "<p>\n\t\u4e3b\u795e\uff1a\u865b\u7a7a\u7121\u6975\u5929\u4e0a\u738b\u6bcd\u5a18\u5a18</p>\n<p>\n\t\u5efa\u7acb<span style=\"\">\uff1a1939\u5e74</span></p>\n<p>\n\t\u5730\u5740<span style=\"\">\uff1a\u82b1\u84ee\u7e23\u5409\u5b89\u9109\u52dd\u5b89\u6751\u6148\u60e0\u4e09\u8857118\u865f</span></p>\n<p>\n\t\u5e74\u4f8b\u4e09\u5927\u6176\u5178<span style=\"\">\uff1a</span></p>\n<ol>\n\t<li>\n\t\t\u8fb2\u66c6\u516d\u6708\u5341\u4e09\u65e5\uff1a\u5929\u4e0a\u738b\u6bcd\u5a18\u5a18\u4e0b\u964d\u6551\u4e16\u7d00\u5ff5\u65e5\u3002</li>\n\t<li>\n\t\t\u8fb2\u66c6\u4e03\u6708\u5341\u516b\u65e5\uff1a\u5929\u4e0a\u738b\u6bcd\u5a18\u5a18\u8056\u8a95\u7d00\u5ff5\u65e5\u3002</li>\n\t<li>\n\t\t\u8fb2\u66c6\u5341\u6708\u5341\u516b\u65e5\uff1a\u5929\u4e0a\u738b\u6bcd\u5a18\u5a18\u5b89\u5ea7\u7d00\u5ff5\u65e5\u66a8\u5730\u6bcd\u5a18\u5a18\u8056\u8a95\u3002</li>\n</ol>\n<p class=\"style1\">\n\t\u53f0\u7063\u7b2c\u4e00\u5ea7\u4e3b\u7940\u865b\u7a7a\u7121\u6975\u5929\u4e0a\u738b\u6bcd\u5a18\u5a18\u7684\u5edf\u5b87\uff0c\u5176\u539f\u578b\u70ba\u7c21\u964b\u7684\u8305\u8349\u5c4b\uff0c\u6700\u521d\u7a31\u4f5c\u52dd\u5316\u5802\u8207\u82b1\u84ee\u6148\u60e0\u5802\u4e26\u7a31\u70ba\u53f0\u7063\u6bcd\u5a18\u4fe1\u4ef0\u7684\u767c\u6e90\u5730\uff0c\u6bcf\u9022\u738b\u6bcd\u5a18\u5a18\u4e09\u5927\u796d\u5178\uff0c\u904d\u53ca\u5168\u570b\u738b\u6bcd\u5a18\u5a18\u7684\u4fe1\u5f92\u6e67\u81f3\uff0c\u70ba\u82b1\u84ee\u8457\u540d\u5edf\u5b87\u3002</p>\n<hr>\n<p>\n\t<strong>\u7de3\u8d77\u3000\u3000</strong></p>\n<p>\n\t\u3000\u3000\u90a3\u6642\u5bae\u5edf\u57fa\u5730\u4e00\u7247\u8352\u91ce\uff0c\u4eba\u7159\u7a00\u5c11\uff0c1948\u5e748\u6708<span style=\"\">\u539f\u5c45\u82d7\u6817\u82d1\u88e1\u7684\u5f35\u7159\u3001\u6797\u91d1\u679d\u592b\u5a66\u9077\u81f3\u82b1\u84ee\u5e02\u90ca\u7530\u57d4\u5c45\u4f4f</span><span style=\"\">\uff0c</span><span style=\"\">\u80b2\u6709\u4e09\u5b50\u4ee5\u8ca9\u8ce3\u852c\u83dc\u7dad\u751f\uff0c</span><span style=\"\">\u5728\u82b1\u84ee\u5e02\u7684\u4e2d\u592e\u5e02\u5834\u7d50\u8b58\u4e00\u540d\u96a8\u570b\u6c11\u9ee8\u8ecd\u64a4\u9000\u7684\u5916\u7701\u9752\u5e74\u8607\u70c8\u6771\uff0c\u4e26\u5206\u79df\u4e00\u9593\u8305\u8349\u5c4b\u4f9b\u8607\u70c8\u6771\u5c45\u4f4f\u3002</span></p>\n<p class=\"MsoNormal\">\n\t\u00a0 \u00a0 \u723e\u5f8c\uff0c\u5f35\u7159\u904e\u4e16\u5f8c\uff0c\u6797\u91d1\u679d\u7531\u65bc\u601d\u5ff5\u5fc3\u5207\uff0c\u8acb\u4f86\u778e\u773c\u6dfb\u4e01\u4f86\u300c\u727d\u4ea1\u9b42\u300d\uff0c\u5e0c\u671b\u77e5\u9053\u5f35\u7159\u5728\u51a5\u5e9c\u7684\u72c0\u6cc1\u3002\u7d50\u679c\u65bc\u591c\u534a\u65bd\u6cd5\u8853\u6642\uff0c\u5728\u65c1\u89c0\u770b\u7684\u8607\u70c8\u6771\u7adf\u5448\u73fe\u88ab\u50ac\u7720\u72c0\u614b\u53e3\u4e2d\u5583\u5583\u81ea\u8a9e\uff0c\u7d93\u778e\u773c\u6dfb\u4e01\u5e7e\u6b21\u53eb\u559a\u7686\u4e0d\u9192\uff0c\u778e\u773c\u6dfb\u4e01\u552f\u6050\u9b27\u4eba\u547d\uff0c\u7adf\u5148\u884c\u6e9c\u8d70\uff0c\u5e78\u5f97\u6703\u727d\u4ea1\u6cd5\u4e8b\u7684\u6751\u6c11\u6797\u518d\u6dfb\u7d93\u904e\uff0c\u7576\u5834\u5c07\u91d1\u7d19\u756b\u6210\u7684\u7b26\u8b93\u8607\u70c8\u6771\u670d\u4e0b\u30026\u670813\u65e5\u4e0a\u53486\u6642\u8607\u70c8\u6771\u88ab\u738b\u6bcd\u5a18\u5a18\u9644\u8eab\uff0c\u7576\u4e0b\u958b\u53e3\u8aaa\u8a71\uff1a\u300c\u56e0\u8207\u8af8\u9cf3\u59b9\u96f2\u904a\u7d93\u904e\uff0c\u55c5\u8305\u5c4b\u6e05\u9999\u4e0a\u4e5d\u9704\uff0c\u7279\u4e0b\u51e1\u5de1\u63a2\uff0c\u611f\u89ba\u798f\u5730\u6709\u7de3\uff0c\u6c7a\u610f\u5728\u6b64\u99d0\u8e55\u4e00\u6bb5\u6642\u65e5\uff0c\u6551\u4e16\u6e21\u773e\u3002\u300d\uff0c\u6839\u64da\u5edf\u65b9\u8868\u793a\uff0c<span style=\"\">\u9a5a\u52d5\u5f35\u5bb6\u4e00\u5bb6\u5927\u5c0f\u4ee5\u53ca\u9644\u8fd1\u5c45\u6c11\uff0c</span>\u9019\u662f\u738b\u6bcd\u5a18\u5a18\u986f\u9748\u4e0b\u964d\u6551\u4e16\u7684\u7b2c\u4e00\u6b21\uff0c\u4ee5\u5f8c\u795e\u8e5f\u4e0d\u65b7\u3002</p>\n<p class=\"MsoNormal\">\n\t\u3000\u3000\u9042\u958b\u8fa6\u300c\u52dd\u5316\u5802\u300d\uff0c\u897f\u738b\u6bcd\u900f\u904e\u964d\u9e1e\u6276\u4e69\uff0c\u9748\u9a57\u975e\u5e38\uff0c\u4e43\u6cbb\u75c5\u6551\u4eba\u7121\u6578\uff0c\u4fe1\u773e\u516b\u65b9\u96f2\u96c6\uff0c\u540d\u8072\u6f38\u50b3\u3002\u81ea\u6b64\u53f0\u7063\u7684\u6bcd\u5a18\u4fe1\u4ef0\u5728\u53f0\u7063\u958b\u6559\u95e1\u5316\uff0c\u958b\u82b1\u6563\u8449\uff0c\u4fe1\u4ef0\u904d\u5e03\u5168\u53f0\u5404\u5730\u4e43\u81f3\u6d77\u5916\uff0c\u4eca\u82b1\u84ee\u52dd\u5b89\u5bae\u4ecd\u5b58\u6709\u7576\u5e74\u4e4b\u8305\u8349\u5c4b\u4ee5\u53ca\u53e6\u5efa\u300c\u865b\u7a7a\u7121\u6975\u6d88\u52ab\u6551\u4e16\u5929\u4e0a\u738b\u6bcd\u5a18\u5a18\u4e0b\u964d\u8056\u8de1\u7d00\u5ff5\u7891\u300d\u4ee5\u4f9b\u7d00\u5ff5\u3002</p>\n<hr>\n<p class=\"MsoNormal\">\n\t\u6d3e\u7cfb\u3000\u00a0</p>\n<p class=\"MsoNormal\">\n\t\u3000\u3000\u6839\u64da\u52dd\u5b89\u5bae\u5edf\u65b9\u8aaa\u6cd5\uff1b\u738b\u6bcd\u5a18\u5a18\u964d\u4e16\u521d\u671f\u6536\u990a51\u540d\u5951\u5b50\u5951\u5973\uff0c\u4f46\u6b6451\u540d\u5951\u5b50\u5951\u5973\u610f\u898b\u4e0d\u4e00\u3001\u5404\u6709\u6b67\u8b70\uff0c1950\u5e74\u8d77\u53f0\u7063\u738b\u6bcd\u5a18\u5a18\u4fe1\u4ef0\u5206\u70ba\u5169\u500b\u7cfb\u7d71\uff0c\u5206\u5225\u662f\u300c\u52dd\u5b89\u5bae\u300d\u7cfb\u7d71\u548c\u300c\u6148\u60e0\u5802\u300d\u7cfb\u7d71\u3002\u55e3\u5f8c\uff0c\u300c\u52dd\u5b89\u5bae\u300d\u5206\u5f97\u738b\u6bcd\u91d1\u8eab\u3001\u300c\u6148\u60e0\u5802\u300d\u53d6\u5f97\u91d1\u7210\uff0c\u5206\u982d\u5ba3\u63da\u897f\u738b\u6bcd\u5a18\u5a18\u4fe1\u4ef0\uff0c\u5206\u6d3e\u5f8c\u4ecd\u540c\u5949\u300c\u865b\u7a7a\u7121\u6975\u7464\u6c60\u5927\u8056\u897f\u738b\u6bcd\u300d\u70ba\u4e3b\u795e\uff0c\u4f46\u7c21\u7a31\u4e0a\uff0c\u300c\u52dd\u5b89\u5bae\u300d\u7cfb\u7d71\u606d\u7a31\u70ba\u300c\u5929\u4e0a\u738b\u6bcd\u5a18\u5a18\u300d\uff0c\u800c\u300c\u6148\u60e0\u5802\u300d\u7cfb\u7d71\u5247\u5c0a\u7a31\u300c\u7464\u6c60\u897f\u738b\u91d1\u6bcd\u300d\u6216\u300c\u91d1\u6bcd\u5a18\u5a18\u300d\uff1b\u5169\u6d3e\u5728\u9053\u670d\u4e0a\u984f\u8272\u4ea6\u6709\u5dee\u5225\uff0c\u524d\u8005\u70ba\u9ec3\u886b\uff0c\u800c\u5f8c\u8005\u8457\u9752\u8863\u3002[6]:116-121\u6b64\u5916\uff0c\u76f8\u5c0d\u65bc\u300c\u52dd\u5b89\u5bae\u300d\u7cfb\u7d71\u5c0d\u4f5b\u91cb\u9053\u63a1\u517c\u5bb9\u4e26\u84c4\u7684\u614b\u5ea6\uff0c\u300c\u6148\u60e0\u5802\u300d\u7cfb\u7d71\u8f03\u70ba\u5074\u91cd\u9053\u6559\u7684\u9e1e\u9580\u79d1\u5100\u3002</p>\n<p class=\"MsoNormal\">\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/%E5%8B%9D%E5%AE%89%E5%AE%AE.jpg\"></span></p>\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/2645/", "history_comment": "\u52dd\u5b89\u5bae", "history_date": "2022-05-18T01:34:45.884", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/112454/", "history_user_ip": "2001:b400:e284:a66f:e1ec:a45a:7225:7424" }