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/1422038/
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/1422038/", "name": "\u6f6e\u97f3\u5bfa (\u5357\u753a)", "slug": "\u6f6e\u97f3\u5bfa (\u5357\u753a)", "content": "<p>\n\t<strong>\u6f6e\u97f3\u5bfa</strong>\uff08\u3061\u3087\u3046\u304a\u3093\u3058\uff09\u3001\u9f8d\u5b9d\u5c71\u5ca9\u677e\u9662\u306f\u3001\u304b\u3064\u3066\u5c0f\u7530\u539f\u306e\u5c71\u89d2\u753a\uff08<a href=\"%E5%8D%97%E7%94%BA\">\u5357\u753a</a>\uff09\u306b\u3042\u3063\u305f<a href=\"%E6%B5%84%E5%9C%9F%E5%AE%97\">\u6d44\u571f\u5b97</a>\u306e<a href=\"%E5%AF%BA%E9%99%A2\">\u5bfa\u9662</a>\u3002\u672c\u5c0a\u306f<a href=\"%E9%98%BF%E5%BC%A5%E9%99%80%E5%A6%82%E6%9D%A5\">\u4e09\u5c0a\u963f\u5f25\u9640</a>\u3002\u5143\u4ea83\u5e74\uff081323\uff093\u670812\u65e5\u306e\u5275\u5efa\u3067\u3001\u958b\u5c71\u306f\u5186\u963f\u5b89\u7acb\uff08\u6587\u548c\u5143\u5e74\u30fb1352\u6ca1</p>\n<p>\n\t\uff09\u3002\u6c5f\u6238\u6642\u4ee3\u306b\u306f<a href=\"https://www.zojoji.or.jp/\">\u829d\u30fb\u5897\u4e0a\u5bfa</a>\u306e\u672b\u5bfa\u3060\u3063\u305f\u3002<sup>(1)</sup></p>\n<h2>\n\t\u672c\u5c0a</h2>\n<p>\n\t\u672c\u5c0a\u306e\u4e09\u5c0a\u963f\u5f25\u9640\u50cf\u306f\u3001\u4e2d\u5c0a\u304c\u50cf\u9ad83\u5c3a2\u5bf8\uff08\u7d0497cm\uff09\u3001\u8107\u58eb\u304c1\u5c3a3\u5bf8\uff08\u7d0439.4cm\uff09\u3042\u308a\u3001<a href=\"%E6%98%A5%E6%97%A5\">\u6625\u65e5</a>\u306e\u4f5c\u3068\u3055\u308c\u3066\u3044\u305f<sup>(1)</sup>\u3002</p>\n<h2>\n\t\u5883\u5185</h2>\n<p>\n\t\u5275\u5efa\u5f53\u6642\u306e\u5bfa\u57df\u306f\u65b98\u753a\uff08\u7d04873m\uff09\u3042\u3063\u305f\u3068\u3044\u3046<sup>(1)</sup>\u3002</p>\n<h3>\n\t\u5e73\u6210\u8f14\u306e\u5893</h3>\n<p>\n\t\u5883\u5185\u306b<a href=\"%E5%B9%B3%E6%88%90%E8%BC%94%E3%81%AE%E5%A2%93\">\u5e73\u5bb0\u76f8\u6210\u8f14\u306e\u5893</a>\u304c\u3042\u3063\u305f<sup>(1)</sup>\u3002</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/16\">\u98a8\u571f\u8a18\u7a3f</a>\u300f</li>\n</ol>\n<p>\n\t<a href=\"%E6%BD%AE%E9%9F%B3%E5%AF%BA%20(%E5%8D%97%E7%94%BA)\" class=\"plugin includetag includepage_showtitle\">\"\u6f6e\u97f3\u5bfa (\u5357\u753a)\" \u30bf\u30b0\u306e\u4ed8\u3044\u305f\u30da\u30fc\u30b8</a></p>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-06-15T05:46:27.098", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:dd16:ff95:1d9d:21e6" }