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/1398722/
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/1398722/", "name": "\u30e9\u30f3\u30c1\uff06\u5c45\u9152\u5c4b\u30c0\u30a4\u30cb\u30f3\u30b0Bon-Kura\u68b5\u8535", "slug": "\u30e9\u30f3\u30c1&\u5c45\u9152\u5c4b\u30bf\u30a4\u30cb\u30f3\u30afbon-kura\u68b5\u8535", "content": "<p>\n\t\u00a0</p>\n<p>\n\t<a href=\"_files/combinepdf.pdf\">combinepdf.pdf</a></p>\n<p>\n\t\u30fb\u304a\u5e97\u306e\u30da\u30fc\u30b8(\u5e97\u8217\u540d)</p>\n<p>\n\t\u30e9\u30f3\u30c1\uff06\u5c45\u9152\u5c4b\u30c0\u30a4\u30cb\u30f3\u30b0Bon-Kura\u68b5\u8535</p>\n<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tTEL</td>\n\t\t\t<td>\n\t\t\t\t042-756-5431</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u4f4f\u6240</td>\n\t\t\t<td>\n\t\t\t\t\u76f8\u6a21\u539f\u5e02\u4e2d\u592e\u533a\u6df5\u91ce\u8fba3-4-15</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u55b6\u696d\u6642\u9593</td>\n\t\t\t<td>\n\t\t\t\t11:30\uff5e14:00\u300117:00\uff5e23:00</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u5b9a\u4f11\u65e5</td>\n\t\t\t<td>\n\t\t\t\t\u65e5\u66dc\u65e5\u3001\u795d\u65e5</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u99d0\u8eca\u5834</td>\n\t\t\t<td>\n\t\t\t\t\u306a\u3057</td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t\u00a0</p>\n<p>\n\t\u30fb\u5199\u771f\uff08\u81ea\u5206\u3067\u64ae\u5f71\u3057\u305f\u3082\u306e\uff09<br>\n\t\u30fb\u30aa\u30b9\u30b9\u30e1\u306e\u7406\u7531\uff08250\u6587\u5b57\u4ee5\u4e0a\uff09</p>\n<p>\n\t\u5024\u6bb5\u304c\u304a\u624b\u9803\u4fa1\u683c\u3067\u91cf\u3082\u305f\u304f\u3055\u3093\u3042\u308b\u306e\u3067\u305f\u304f\u3055\u3093\u98df\u3079\u305f\u3044\u4eba\u306b\u306f\u304a\u3059\u3059\u3081\u3067\u3059\u3002</p>\n<p>\n\t<br>\n\t\u30fb\u30aa\u30b9\u30b9\u30e1\u306e\u30e1\u30cb\u30e5\u30fc\uff1a</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/1804/", "history_comment": "\"\u68b5\u8535(\u307c\u3093\u304f\u3089)\" \u306b\u30ea\u30cd\u30fc\u30e0\u3055\u308c\u307e\u3057\u305f", "history_date": "2021-07-17T04:08:17.541", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/107842/", "history_user_ip": "133.2.0.81" }