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/1399048/
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/1399048/", "name": "\u771e\u7530\u73c8\u7432", "slug": "\u771e\u7530\u73c8\u7432", "content": "<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/84581485_1498775720280429_6709242982303793152_n.jpg\" style=\"width: 300px; height: 299px;\"></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u76f8\u6a21\u539f\u30ad\u30e3\u30f3\u30d1\u30b9\u304b\u3089\u7dda\u8def\u3092\u304f\u3050\u3063\u3066\u5c11\u3057\u6b69\u3044\u305f\u5148\u306b\u3042\u308b\u3001\u5947\u9e97\u3067\u843d\u3061\u7740\u3044\u305f\u55ab\u8336\u5e97\u3002</p>\n<p>\n\t\u30b3\u30fc\u30d2\u30fc\u306f\u52ff\u8ad6\u3001\u30e9\u30f3\u30c1\u306e\u30e1\u30cb\u30e5\u30fc\u3082\u8c4a\u5bcc\u3067\u3059\u3002\u671f\u9593\u9650\u5b9a\u306e\u30e1\u30cb\u30e5\u30fc\u3082\u305f\u304f\u3055\u3093\u3042\u308b\u3088\u3046\u3067\u3059\uff01</p>\n<p>\n\t\u30aa\u30fc\u30ca\u30fc\u3055\u3093\u304c\u97f3\u697d\u597d\u304d\u3067\u3001\u983b\u7e41\u306b\u5e97\u5185\u30e9\u30a4\u30d6\u3092\u958b\u50ac\u3057\u3066\u3044\u308b\u305d\u3046\u3002</p>\n<p>\n\t\u544a\u77e5\u306a\u3069\u304c\u6295\u7a3f\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u8a73\u3057\u304f\u306f\u304a\u5e97\u306e\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0\u3092\u8997\u3044\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\uff0a\u771e\u7530\u73c8\u7432\u3055\u3093\u306e\u30a4\u30f3\u30b9\u30bf\u30b0\u30e9\u30e0</p>\n<p>\n\t<a href=\"https://www.instagram.com/sanada_coffee/?hl=ja\">/www.instagram.com/sanada_coffee/?hl=ja</a></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<u>\u30fb\u4f4f\u6240</u></p>\n<p>\n\t\u3012252-0237 \u795e\u5948\u5ddd\u770c\u76f8\u6a21\u539f\u5e02\u4e2d\u592e\u533a\u5343\u4ee3\u7530\uff13\u4e01\u76ee\uff11\uff18\u2212\uff14\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<u>\u30fb\u5b9a\u4f11\u65e5</u></p>\n<p>\n\t\u6bce\u9031\u706b\u66dc\u65e5</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<u>\u30fb\u30aa\u30b9\u30b9\u30e1\u30e1\u30cb\u30e5\u30fc</u></p>\n<p>\n\t<em><strong>\uff1e<strong>\u30b5\u30ac\u30df\u30cf\u30e9\u30c6</strong></strong></em></p>\n<p>\n\t\u5730\u5143\u611b\u306b\u6ea2\u308c\u308b\u30ab\u30d5\u30a7\u30e9\u30c6\u3067\u3059\u3002</p>\n<p>\n\t<em><strong>\uff1e\u30bf\u30f3\u30c9\u30ea\u30fc\u30c1\u30ad\u30f3\u30e9\u30a4\u30b9</strong></em></p>\n<p>\n\t\u5b9a\u756a\u30e1\u30cb\u30e5\u30fc\u3067\u3059\u3002\u30b9\u30d1\u30a4\u30b9\u304c\u52b9\u3044\u3066\u304a\u308a\u3001\u98df\u3079\u5fdc\u3048\u304c\u3042\u308a\u307e\u3059\uff01</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/1804/", "history_comment": null, "history_date": "2021-07-20T00:43:18.674", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/108016/", "history_user_ip": "122.255.243.254" }