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/1422048/
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/1422048/", "name": "\u5e73\u6210\u8f14\u306e\u5893", "slug": "\u5e73\u6210\u8f14\u306e\u5893", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/tairanonarisuke-tombstone.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u5e73\u6210\u8f14\u306e\u5893</span></span><strong>\u5e73\u6210\u8f14\u306e\u5893</strong>\uff08\u305f\u3044\u3089\u306e\u306a\u308a\u3059\u3051\u306e\u306f\u304b\uff09\u306f\u3001\u304b\u3064\u3066<a href=\"%E5%8D%97%E7%94%BA\">\u5357\u753a</a>\u30fb<a href=\"%E6%BD%AE%E9%9F%B3%E5%AF%BA%20(%E5%8D%97%E7%94%BA)\">\u6f6e\u97f3\u5bfa</a>\u306e\u5883\u5185\u306b\u3042\u3063\u305f<a href=\"%E5%B9%B3%E6%88%90%E8%BC%94\">\u5e73\u6210\u8f14</a>\u306e\u5893\u3002\u77f3\u306e\u7960\u304c\u3042\u308a\u3001\u508d\u3089\u306b\u4e94\u8f2a\u306e\u983d\u7891\u304c\u3042\u3063\u305f\u3002<sup>(1)</sup></p>\n<p>\n\t\u300e\u592a\u5e73\u8a18\u300f\u306b\u3088\u308b\u3068\u3001\u5143\u5f18\u5143\u5e74\uff08\u5357\u671d\u30fb1331\uff09\u306b\u5927\u548c\u56fd\u306e\u7b20\u7f6e\u57ce\u304c\u843d\u57ce\u3057\u3066\u3001<a href=\"%E5%BE%8C%E9%86%8D%E9%86%90%E5%A4%A9%E7%9A%87\">\u5f8c\u918d\u9190\u5929\u7687</a>\u304c\u516d\u6ce2\u7f85\u306b\u5165\u3063\u305f\u3068\u304d\u306b\u3001\u6210\u8f14\u306f\u751f\u3051\u6355\u3089\u308c\u305f<sup>(1)</sup>\u3002</p>\n<p>\n\t\u300e\u5897\u93e1\u300f\u306b\u306f\u300c\u516b\u6708\u5eff\u4e94\u65e5\u65bc\u4eac\u5c31\u56da\u300d\uff088\u670825\u65e5\u306b\u4eac\u90fd\u3067\u6355\u865c\u306b\u306a\u3063\u305f\uff09\u3068\u3042\u308b<sup>(1)</sup>\u3002</p>\n<p>\n\t\u7fcc\u5e74\uff08\u5357\u671d\u5143\u5f182\u30fb1332\uff095\u6708\u3001<a href=\"%E6%B2%B3%E8%B6%8A%E5%86%86%E9%87%8D\">\u6cb3\u8d8a\u4e09\u6cb3\u5165\u9053\u5186\u91cd</a>\u304c\u6210\u8f14\u3092\u4f34\u3063\u3066\u95a2\u6771\u3078\u4e0b\u308a\u3001\u6210\u8f14\u306f22\u65e5\u306b<a href=\"%E6%97%A9%E5%B7%9D%E5%B0%BB\">\u65e9\u5ddd\u5c3b</a>\u3067\u6bba\u5bb3\u3055\u308c\u305f<sup>(1)</sup>\u3002</p>\n<p>\n\t\u305d\u306e\u305f\u3081\u3001\u5f53\u5730\u306b\u846c\u3089\u308c\u305f<sup>(1)</sup>\u3002</p>\n<h2>\n\t\u53c2\u8003\u8cc7\u6599</h2>\n<ol>\n\t<li>\n\t\t<a href=\"https://dl.ndl.go.jp/info:ndljp/pid/1179210/16\">\u300e\u98a8\u571f\u8a18\u7a3f\u300f\u5c71\u89d2\u753a \u6f6e\u97f3\u5bfa</a></li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-06-15T06:28:53.086", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:dd16:ff95:1d9d:21e6" }