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/1422035/
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/1422035/", "name": "\u5149\u83ef\u8fb2\u5834\u65c1\u724c\u6a13", "slug": "\u5149\u83ef\u8fb2\u5834\u65c1\u724c\u6a13", "content": "<p>\n\t\u5149\u83ef\u8fb2\u5834\u724c\u6a13\u4f4d\u65bc\u5409\u5b89\u9109\u5149\u83ef\u6751\u83ef\u57ce\u4e94\u8857\u3002\u5149\u83ef\u6751\u7684\u958b\u767c\u662f\u7531\u6c11\u570b52\u5e74\u4f86\u81fa\u7684\u90e8\u968a\uff0c\u70ba\u97ff\u61c9\u653f\u5e9c\u734e\u52f5\u9000\u9664\u5f79\u5b98\u5175\u5f9e\u4e8b\u8fb2\u58be\u958b\u8352\u653f\u7b56\uff0c\u5c31\u4f86\u5230\u9019\u908a\u62d3\u8352\u3002\u7576\u6642\u5149\u83ef\u6751\u9019\u4e00\u6574\u7247\u4ecd\u662f\u6cb3\u5ddd\u7684\u7802\u77f3\u5730\uff0c\u6c92\u6709\u571f\u58e4\uff0c\u800c\u7d93\u904e\u9000\u9664\u5f79\u5b98\u5175\u5f1f\u5144\u591a\u5e74\u7684\u958b\u58be\u5f8c\uff0c\u73fe\u5728\u5247\u8b8a\u6210\u53ef\u4ee5\u8015\u7a2e\u7684\u826f\u7530\u3002\u7576\u6642\u653f\u5e9c\u70ba\u4e86\u5b89\u7f6e\u6230\u5f8c\u79fb\u5c45\u6771\u90e8\u7684\u5916\u7701\u65cf\u7fa4\uff0c\u65bc\u662f\u8a2d\u7acb\u4e86\u82b1\u84ee\u8fb2\u5834\u3001\u5149\u83ef\u65b0\u6751\uff0c\u4ee5\u53ca\u591a\u500b\u8fb2\u58be\u5340\u7b49\u6578\u8655\u69ae\u6c11\u8fb2\u5834\u3002<br>\n\t\u6b64\u724c\u6a13\u898b\u8b49\u6c11\u570b53\u5e74\u9000\u8f14\u6703\u958b\u767c\u6728\u74dc\u6eaa\u6cb3\u5e8a\u5730\u69ae\u6c11\u5927\u968a\u5c6f\u58be\u4e4b\u6b77\u53f2\uff0c\u4ee5\u53ca\u7576\u6642\u69ae\u6c11\u8207\u672c\u5730\u7684\u81fa\u7063\u4eba\u3001\u539f\u4f4f\u6c11\u7684\u4e92\u52d5\uff0c\u53ef\u60dc\u96a8\u8457\u69ae\u6c11\u7684\u51cb\u843d\uff0c\u73fe\u4eca\u5149\u83ef\u8fb2\u5834\u5df2\u4e0d\u898b\u6614\u65e5\u98a8\u83ef\uff0c\u9010\u6f38\u5730\u51cb\u96f6\u3001\u8352\u5ee2\uff0c\u6b64\u724c\u6a13\u4e4b\u4fdd\u5b58\u4e5f\u6210\u70ba\u8fb2\u5834\u4e4b\u6b77\u53f2\u8a18\u61b6\u3002<br>\n\t\u5149\u83ef\u8fb2\u5834\u7684\u724c\u6a13\u4e3b\u9ad4\u63a1\u4e09\u9593\u56db\u67f1\u4e09\u6a13\u5f0f\uff0c\u5c4b\u7c37\u5f62\u5f0f\u70ba\u55ae\u6a90\u5ee1\u6bbf\u9802\uff0c\u4e0a\u8986\u7da0\u8272\u7409\u7483\u74e6\uff0c\u7409\u7483\u74e6\u4e0a\u5de6\u53f3\u5404\u6709\u4e00\u689d\u300c\u99ac\u982d\u9f8d\u5c3e\u300d\u9020\u578b\u7684\u5851\u50cf\uff0c\u4f3c\u4e4e\u4ee3\u8868\u8457\u300c\u9f8d\u99ac\u7cbe\u795e\u300d\u7684\u8c61\u5fb5\uff0c\u724c\u6a13\u67f1\u9ad4\u63a1\u6731\u7d05\u8272\uff0c\u4e5f\u56e0\u5e74\u4e45\u5931\u4fee\u7684\u95dc\u4fc2\uff0c\u986f\u5f97\u6709\u4e9b\u6591\u99c1\u3002\u5de6\u53f3\u5169\u9593\u5247\u7acb\u6709\u4e00\u9762\u4eff\u8d14\u5c6d\u9020\u578b\u7684\u77f3\u7891\uff0c\u77f3\u7891\u4e0a\u982d\u523b\u5beb\u8457\u300c\u5149\u83ef\u58be\u5340\u8a18\u300d\u53ca\u300c\u53c3\u52a0\u958b\u58be\u4eba\u54e1\u82b3\u540d\u9304\u300d\uff0c\u4e0d\u904e\u6b64\u5169\u5ea7\u77f3\u7891\u4e5f\u56e0\u6b72\u6708\u7684\u6467\u6b98\uff0c\u77f3\u7891\u4e0a\u7684\u6587\u5b57\u5df2\u6a21\u7cca\u6210\u4e86\u7121\u5b57\u5929\u66f8\uff0c\u96a8\u8457\u69ae\u6c11\u7684\u51cb\u96f6\u53ca\u4f4f\u6236\u7684\u9077\u79fb\uff0c\u6b64\u724c\u6a13\u4e5f\u56e0\u7121\u4eba\u7dad\u8b77\u8207\u7ba1\u7406\u7684\u60c5\u6cc1\u4e0b\uff0c\u8272\u6fa4\u5df2\u4e0d\u5fa9\u7576\u5e74\uff0c\u724c\u6a13\u8868\u9762\u7684\u6cb9\u6f06\u986f\u5f97\u76f8\u7576\u7684\u6591\u99c1\u4e0d\u582a\u3002</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/s_intro_img3497623787667.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u5149\u83ef\u8fb2\u5834\u65c1\u724c\u6a13</span></span></p>\n<p>\n\t\u8cc7\u6599\u4f86\u6e90:\u82b1\u84ee\u6587\u5316\u5c40</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/2645/", "history_comment": null, "history_date": "2022-06-15T04:24:36.181", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/113467/", "history_user_ip": "61.231.165.14" }