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/1403750/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/pages_history/1403750/", "name": "\u5922\u5730\u8535\u5c0a", "slug": "\u5922\u5730\u8535\u5c0a", "content": "<p>\n\t\u5922\u5730\u8535\u5c0a \u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u305c\u3072\u6559\u3048\u3066\u304f\u3060\u3055\u3044</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/IMAG3410.jpg\" style=\"width: 300px; height: 225px;\"></span><span class=\"image_frame image_frame_border\"><img src=\"_files/IMAG3411.jpg\" style=\"width: 225px; height: 300px;\"></span><span class=\"image_frame image_frame_border\"><img src=\"_files/IMG_20210817_110515.jpg\" style=\"width: 225px; height: 300px;\"></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u79cb\u8349\u3055\u3093\u306e\u30b5\u30a4\u30c8\u3000<a href=\"http://www.komoro.or.jp/yume.html\">\u5922\u5730\u8535\u3055\u3093</a></p>\n<p>\n\t\u4ee5\u4e0b<a href=\"https://ameblo.jp/idem2007/entry-12703197955.html\">\u6771\u4fe1\u30b8\u30e3\u30fc\u30ca\u30eb2021\u5e7410\u670823\u65e5\u306e\u8a18\u4e8b</a>\u3088\u308a</p>\n<p>\n\t\uff1d\uff1d\uff1d\u00a0\u6a4b\u306e\u305f\u3082\u3068\u306e \u685c\u3068\u5922\u5730\u8535\u00a0 \uff1d\uff1d\uff1d</p>\n<p>\n\t\u00a0</p>\n<p style=\"text-align: center;\">\n\t<a href=\"https://ameblo.jp/idem2007/image-12703197955-15014350757.html\" class=\"detailOn userImageLink\"><img src=\"https://stat.ameba.jp/user_images/20211011/17/idem2007/41/6c/j/o0400026615014350757.jpg?caw=800\" alt=\"\" style=\"height: auto;\" class=\"PhotoSwipeImage\"></a></p>\n<p>\n\t\u3010\u5927\u676d\u6a4b\u306e\u305f\u3082\u3068\u306e\u685c\u3068\u5922\u5730\u8535\u3001\u5409\u91ce\u5bb6\u3011<br>\n\t<br>\n\t<br>\n\t\u3000\u6e6f\u306e\u702c\u6e29\u6cc9\u5409\u91ce\u5bb6\u306f\u3001\u5409\u91ce\u3055\u3093\u306e\u7956\u7236\u30fb\u4e45\u6b21\u90ce\u3055\u3093\u304c\u300c\u706b\u306e\u5439\u304f\u5c71\u306e\u5ddd\u306e\u307b\u3068\u308a\u3092\u6398\u308c\u3070\u6e29\u6cc9\u304c\u51fa\u308b\u300d\u3068\u306e\u5922\u306e\u304a\u544a\u3052\u3067\u3001\u5f53\u5730\u306b\u6e29\u6cc9\u3092\u6398\u308a\u5f53\u3066\u305f\u3068\u4f1d\u3048\u3089\u308c\u308b\u3002</p>\n<p>\n\t<br>\n\t\u3000\u5409\u91ce\u3055\u3093\u306e\u7236\u30fb\u6804\u3055\u3093\u304c\u5efa\u7269\u3092\u5efa\u3066\u3001\u5409\u91ce\u3055\u3093\u306f40\u5e74\u524d\u306b\u6771\u4eac\u304b\u3089\u79fb\u4f4f\u3001\u5409\u91ce\u5bb6\u3092\u7d4c\u55b6\u3057\u305f\u3002</p>\n<p>\n\t\u5b66\u751f\u306e\u5408\u5bbf\u3084\u3064\u308a\u5ba2\u306a\u3069\u306b\u611b\u3055\u308c\u3001\u306b\u304e\u308f\u3063\u305f\u3002</p>\n<p>\n\t\u65b0\u5e79\u7dda\u3084\u9ad8\u901f\u9053\u8def\u304c\u3067\u304d\u3066\u304b\u3089\u3001\u90fd\u5fc3\u304b\u3089\u65e5\u5e30\u308a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u5bbf\u306e\u5ba2\u306f\u6e1b\u5c11\u3001\u5bbf\u3092\u9589\u3081\u305f\u3002<br>\n\t\u3000\u5927\u676d\u6a4b\u306e\u305f\u3082\u3068\u306b\u306f\u7956\u7236\u306e\u5922\u5730\u8535\u304c\u7940\u3089\u308c\u3066\u3044\u3066\u3001\u6625\u306b\u306a\u308b\u3068\u685c\u304c\u54b2\u304d\u8a87\u308b\u3002</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/1002/", "history_comment": null, "history_date": "2021-10-23T17:53:28.316", "history_type": 1, "history_user": "https://ja.localwiki.org/api/v4/users/37186/", "history_user_ip": "124.143.50.116" }