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/1419284/
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/1419284/", "name": "\u6587\u4e09\u585a", "slug": "\u6587\u4e09\u585a", "content": "<p>\n\t<strong>\u6587\u4e09\u585a</strong>\uff08\u3076\u3093\u305e\u3046\u3065\u304b\uff09\u306f\u3001<a href=\"%E7%B1%B3%E7%A5%9E\">\u7c73\u795e</a>\u3068<a href=\"%E7%9F%B3%E6%A9%8B\">\u77f3\u6a4b</a>\u306e\u5883\u754c\u3042\u305f\u308a\u306b\u3042\u308b\u3001\u6cbb\u627f4\u5e74\uff081180\uff09\u306e<a href=\"%E7%9F%B3%E6%A9%8B%E5%B1%B1%E3%81%AE%E5%90%88%E6%88%A6\">\u77f3\u6a4b\u5c71\u306e\u5408\u6226</a>\u306e\u3068\u304d<a href=\"%E4%BD%90%E5%A5%88%E7%94%B0%E4%B8%8E%E4%B8%80\">\u4f50\u5948\u7530\u4e0e\u4e00</a>\u3068\u3068\u3082\u306b\u8a0e\u6b7b\u3057\u305f\u3001\u305d\u306e\u90ce\u7b49\u30fb<a href=\"%E8%B1%8A%E4%B8%89%E5%AE%B6%E5%AE%89\">\u8c4a\u4e09\u5bb6\u5b89</a>\u306e\u58b3\u5893\u3002<a href=\"%E7%86%B1%E6%B5%B7%E9%81%93\">\u71b1\u6d77\u9053</a>\u304b\u3089\u306f\u77f3\u6bb5\u309230\u6bb5\u307b\u3069\u4e0a\u3063\u305f\u3068\u3053\u308d\u306b\u3042\u308a\u3001\u4e0a\u306b\u5468\u56f28\u5c3a\uff08\u7d042.4m\uff09\u306e\u677e\u306e\u6728\u304c\u751f\u3048\u3066\u3044\u305f\u3002<sup>(1)</sup></p>\n<p>\n\t\u585a\u306e\u8fd1\u304f\u306b\u9ad8\u30556\u5c3a\uff08\u7d04182cm\uff09\u306e\u7891\u304c\u7acb\u3066\u3089\u308c\u3066\u3044\u3066\u3001\u7891\u306e\u4e0a\u306b\u306f\u8986\u5c4b\u304c\u3042\u3063\u305f\u3002\u300c\u4f50\u5948\u7530\u4e0e\u4e00\u90ce\u7b49\u6587\u4e09\u5893\uff0f\u6cbb\u627f\u56db\u5e74\u5e9a\u5b50\u5e74\uff081180\uff09\u516b\u6708\u5eff\u4e09\u65e5\u591c\u300d\u3068\u984c\u3057\u3066\u3042\u3063\u305f\u3002\u304b\u3064\u3066\u306e\u5c0f\u7530\u539f\u85e9\u4e3b\u30fb<a href=\"%E7%A8%B2%E8%91%89%E6%AD%A3%E5%89%87\">\u7a32\u8449\u7f8e\u6fc3\u5b88\u6b63\u5247</a>\u306e\u8001\u81e3\u30fb<a href=\"%E7%94%B0%E8%BE%BA%E4%BF%A1%E5%90%89\">\u7530\u8fba\u6a29\u592a\u592b\u4fe1\u5409</a>\u304c\u5efa\u7acb\u3057\u305f\u3082\u306e\u3060\u3063\u305f\u3002<sup>(1)</sup></p>\n<p>\n\t\u5fcc\u65e5\u306b\u306f\u53c2\u8a63\u3059\u308b\u4eba\u304c\u591a\u304b\u3063\u305f\u3002<sup>(1)</sup></p>\n<p>\n\t\u300e\u6e90\u5e73\u76db\u8870\u8a18\u300f\u306b\u3088\u308b\u3068\u3001\u6587\u6cbb6\u5e74\uff081190\uff09\u6b63\u6708\u306b<a href=\"%E6%BA%90%E9%A0%BC%E6%9C%9D\">\u6e90\u983c\u671d</a>\u304c\u3053\u306e\u58b3\u5893\u3092\u8a2a\u308c\u3066\u3001\u6b7b\u8005\u3092\u60bc\u3093\u3060\u3053\u3068\u304c\u3042\u3063\u305f\u3002\u307e\u305f<a href=\"%E7%BE%A9%E5%A0%82%E5%91%A8%E4%BF%A1\">\u7fa9\u5802\uff08\u5468\u4fe1\uff09</a>\u306e\u8a69\u306b\u3082\u300c\u4f59\u4e00\u8c4a\u4e09\u5893\u6728\u8352\u300d\u3068\u984c\u3057\u305f\u3082\u306e\u304c\u3042\u3063\u305f\u3068\u3044\u3046\u3002<sup>(1)</sup></p>\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/79\">\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-05-14T00:25:53.154", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:b058:dd18:45d3:106e" }