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/1401850/
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/1401850/", "name": "\u99ac\u8eca\u9053", "slug": "\u99ac\u8eca\u9053", "content": "<p style=\"text-align: justify;\" class=\"MsoNormal\">\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/IMG_3877.jpeg\" style=\"width: 300px; height: 300px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u99ac\u8eca\u9053\u306e\u30ac\u30b9\u706f</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/IMG_3865.jpeg\" style=\"width: 300px; height: 271px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u99ac\u8eca\u9053\u306e\u30ed\u30b4\u30de\u30fc\u30af</span></span></p>\n<p style=\"text-align: justify;\" class=\"MsoNormal\">\n\t\u3000\u660e\u6cbb5\u5e74(1872)\u306b<strong>\u65e5\u672c\u3067\u6700\u521d\u306e\u30ac\u30b9\u706f\u304c\u706f\u3055\u308c\u305f\u901a\u308a</strong>\u3067\u3001\u65e5\u672c\u3067\u521d\u3081\u3066\u660e\u308b\u3044\u591c\u3092\u8fce\u3048\u305f\u5834\u6240\u3067\u3042\u308b\u3002\u304b\u3064\u3066\u306f\u3001\u99ac\u8eca\u3084\u4eba\u529b\u8eca\u304c\u884c\u304d\u4ea4\u3046\u5834\u6240\u3060\u3063\u305f\u3002\u4eca\u73fe\u5728\u3082\u305d\u306e\u5f53\u6642\u306e\u8857\u4e26\u307f\u306781\u57fa\u306e\u30ac\u30b9\u706f\u304b\u3089\u3001LED\u3067\u306f\u51fa\u305b\u306a\u3044\u6e29\u304b\u307f\u3068\u6a2a\u6d5c\u306e\u6b74\u53f2\u3092\u611f\u3058\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3002</p>\n<p style=\"text-align: justify;\" class=\"MsoNormal\">\n\t\u3000\u99ac\u8eca\u9053\u6cbf\u3044\u306b\u3042\u308b\u95a2\u5185\u30db\u30fc\u30eb\u306b\u306f\u3001\u30ac\u30b9\u706f\u304c\u706f\u3055\u308c\u305f\u8a18\u5ff5\u7891\u3084\u58c1\u9762\u30ec\u30ea\u30fc\u30d5\u3001\u5fa9\u5143\u3055\u308c\u305f\u5f53\u6642\u306e\u30ac\u30b9\u706f\u304c\u8a2d\u7f6e\u3055\u308c\u3066\u3044\u308b\u3002</p>\n<p style=\"text-align: justify;\" class=\"MsoNormal\">\n\t\u3000\u8857\u4e2d\u306e\u30ac\u30b9\u706f\u306b\u306f\u3001\u89d2\u5f35\u3063\u305f\u5f62\u306e\u3082\u306e\u3084\u4e38\u307f\u3092\u5e2f\u3073\u3066\u3044\u308b\u3082\u306e\u3068\u3044\u3063\u305f\u69d8\u3005\u306a\u5f62\u306e\u30ac\u30b9\u706f\u304c\u4e26\u3093\u3067\u3044\u308b\u3002\u307e\u305f\u3053\u306e\u30ec\u30c8\u30ed\u306a\u8857\u4e26\u307f\u306e\u4e2d\u306b\u306f<strong>\u300c\u99ac\u300d</strong>\u304c\u305f\u304f\u3055\u3093\u3044\u308b\u305f\u3081\u3001\u305d\u308c\u3089\u3092\u63a2\u3057\u306a\u304c\u3089\u6b69\u304f\u306e\u3082\u697d\u3057\u307f\u65b9\u306e\u4e00\u3064\u3060\u308d\u3046\u3002</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/2577/", "history_comment": null, "history_date": "2021-09-16T08:18:38.041", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/108876/", "history_user_ip": "165.100.191.96" }