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/1423086/
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/1423086/", "name": "\u5831\u5fb3\u5800", "slug": "\u5831\u5fb3\u5800", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/hotoku-hori.JPG\" style=\"width: 300px; height: 225px;\"></span><strong>\u5831\u5fb3\u5800</strong>\uff08\u307b\u3046\u3068\u304f\u307c\u308a\uff09\u306f<a href=\"%E4%BA%8C%E5%AE%AE%E5%B0%8A%E5%BE%B3\">\u4e8c\u5bae\u5c0a\u5fb3</a>\u306e\u6307\u5c0e\u3067\u6398\u3089\u308c\u305f\u3001\u6e7f\u7530\u306e\u5730\u4e0b\u306e\u51b7\u6c34\u3092\u53d6\u308a\u9664\u304f\u305f\u3081\u306e\u6392\u6c34\u6e9d\u3002\u7530\u5730\u306e\u6c34\u306f\u3051\u3092\u3088\u304f\u3057\u3066\u51b7\u5bb3\u306e\u88ab\u5bb3\u3092\u8efd\u6e1b\u3059\u308b\u52b9\u679c\u304c\u3042\u3063\u305f<sup>(1)(2)</sup>\u3002</p>\n<p>\n\t<a href=\"%E6%9B%BD%E6%AF%94\">\u66fd\u6bd4</a>\u306e\u5800\u306e\u8107\u306b1935\u5e74\uff08\u662d\u548c10\uff09\u306b<a href=\"%E6%A1%9C%E4%BA%95\">\u685c\u4e95\u6751</a>\u9752\u5e74\u56e3\u66fd\u6bd4\u652f\u90e8\u306b\u3088\u3063\u3066\u5efa\u3066\u3089\u308c\u305f\u300c\u4e8c\u5bae\u7fc1\u907a\u8e5f\u300d\u306e\u8a18\u5ff5\u7891\u304c\u3042\u308b<sub>\uff082022\u5e74\u8abf\u67fb\uff09</sub>\u3002\u305d\u306e\u7891\u9298\u306e\u5199\u3057<sub>\uff08\u7247\u4eee\u540d\u306f\u5e73\u4eee\u540d\u306b\u306a\u304a\u3057\u3001\u8aad\u70b9\u3092\u88dc\u3063\u305f\uff09</sub>\uff1a</p>\n<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(255, 255, 238);\">\n\t\t\t\t<p>\n\t\t\t\t\t\u5929\u4fdd\u5341\u4e00\u5e74\uff081840\uff09\u3001\u7fc1\u4e94\u5341\u56db\u6b73\u306e\u6625\u3001\u5f53\u5730\u8d77\u6cd5\u4e2d\u3001\u6b64\u51e6\u306b\u6392\u6c34\u6e9d\u3092\u947f\u3064\u306b\u3001\u4e45\u3057\u304d\u51b7\u5bb3\u3092\u9664\u304b\u308b\u3002\u6b64\u306e\u5de5\u3092\u805e\u304d\u3001\u6765\u308a\u52a9\u6210\u3059\u308b\u8005\u3001\u9060\u8fd1\u5176\u6570\u3092\u77e5\u3089\u305a\u3002\u547c\u3093\u3067\u5831\u5fb3\u5800\u3068\u79f0\u3059\u3002</p>\n\t\t\t\t<p style=\"text-align: right;\">\n\t\t\t\t\t\u3000\u662d\u548c\u5341\u5e74\uff081935\uff09\u79cb\u4e8c\u5bae\u5c0a\u5fb3\u7fc1\u516b\u5341\u5468\u5e74\u8a18\u5ff5</p>\n\t\t\t\t<p style=\"text-align: right;\">\n\t\t\t\t\t\u3000\u3000\u685c\u4e95\u6751\u9752\u5e74\u56e3\u66fd\u6bd4\u652f\u90e8\u5efa\u4e4b</p>\n\t\t\t</td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t\u8a18\u5ff5\u7891\u306e\u4e0b\u306b\u3042\u308b<a href=\"%E5%B0%8F%E7%94%B0%E5%8E%9F%E5%B8%82%E6%95%99%E8%82%B2%E5%A7%94%E5%93%A1%E4%BC%9A\">\u5c0f\u7530\u539f\u5e02\u6559\u80b2\u59d4\u54e1\u4f1a</a>\u306e\u6848\u5185\u677f\u306b\u3088\u308b\u3068\u3001\u307b\u304b\u306b<a href=\"%E9%AC%BC%E6%9F%B3\">\u9b3c\u67f3</a>\u3084\u3001<a href=\"https://ja.localwiki.org/minamiashigara/%E7%AB%B9%E6%9D%BE\">\u5357\u8db3\u67c4\u5e02\u7af9\u677e</a>\u306e\u5c0f\u829d\u539f\u30fb\u4e09\u4e01\u7530\u306b\u3082\u5831\u5fb3\u5800\u304c\u6398\u3089\u308c\u305f<sup>(1)</sup>\u3002</p>\n<h2>\n\t\u30ea\u30f3\u30af</h2>\n<ul>\n\t<li>\n\t\t\u30de\u30ad\uff18\uff11\uff16\u300c<a href=\"https://plaza.rakuten.co.jp/ashigaraarekore/profile/\">\u4e8c\u5bae\u91d1\u6b21\u90ce 9\u3000\u63a8\u8b72\u306e\u3053\u3053\u308d\u3067\u4f5c\u3089\u308c\u305f\u5831\u5fb3\u5800\u3002\u884c\u3063\u3066\u304d\u307e\u3057\u305f (1)</a>\u300d\u300e\u8db3\u67c4\u5c71 \u5f98\u5f8a \uff06 \u7d75\u624b\u7d19\u300f2017\u5e743\u670820\u65e5</li>\n</ul>\n<h2>\n\t\u53c2\u8003\u8cc7\u6599</h2>\n<ol>\n\t<li>\n\t\t\u5c0f\u7530\u539f\u5e02\u6559\u80b2\u59d4\u54e1\u4f1a\u300c\u5831\u5fb3\u5800\u300d\u73fe\u5730\u6848\u5185\u677f</li>\n\t<li>\n\t\t\u685c\u4e95\u6751\u9752\u5e74\u56e3\u66fd\u6bd4\u652f\u90e8\u300c\u4e8c\u5bae\u7fc1\u907a\u8e5f\u300d\u8a18\u5ff5\u7891\u30011935</li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-07-01T21:50:58.179", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:3140:697d:3d27:c6c9" }