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/1398442/
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/1398442/", "name": "\u7d20\u6575\u5c4b\u3055\u3093 (\u3055\u3044\u305f\u307e\u65b0\u90fd\u5fc3)", "slug": "\u7d20\u6575\u5c4b\u3055\u3093 (\u3055\u3044\u305f\u307e\u65b0\u90fd\u5fc3)", "content": "<p>\n\t<strong>\u73c8\u7432\u9928 \u30d3\u30d0\u30e2\u30fc\u30eb\u3055\u3044\u305f\u307e\u65b0\u90fd\u5fc3\u5e97</strong></p>\n<p>\n\t(\u516c\u5f0f\u30b5\u30a4\u30c8:\u00a0<a href=\"https://www.kohikan.jp/vivahomeshintoshin/\">https://www.kohikan.jp/vivahomeshintoshin/</a>)</p>\n<p>\n\t\u00a0</p>\n<p>\n\t[\u5199\u771f]</p>\n<p>\n\t\u00a0</p>\n<ul>\n\t<li>\n\t\t<u>\u304a\u3059\u3059\u3081\u306e\u7406\u7531</u></li>\n</ul>\n<p class=\"indent1\">\n\t<span style=\"\">\u3055\u3044\u305f\u307e\u65b0\u90fd\u5fc3\u99c5\u304b\u3089\u5f92\u6b6910\u5206\u306b\u3042\u308b\u300c\u30b9\u30fc\u30d1\u30fc\u30d3\u30d0\u30db\u30fc\u30e0\u3055\u3044\u305f\u307e\u65b0\u90fd\u5fc3\u5e97\u300d3\u968e\u306e\u30d5\u30fc\u30c9\u30b3\u30fc\u30c8\u5411\u304b\u3044\u306b\u3042\u308b\u30ab\u30d5\u30a7\u3067\u3059\u3002\u4e00\u898b</span><span style=\"\">\u30db\u30fc\u30e0\u30bb\u30f3\u30bf\u30fc\u306e\u7247\u9685\u306b\u4f4d\u7f6e\u3059\u308b\u3069\u3053\u306b\u3067\u3082\u3042\u308b\u55ab\u8336\u5e97\u306e\u69d8\u306b\u601d\u3048\u307e\u3059\u304c\u3001\u60f3\u50cf\u4ee5\u4e0a\u306b\u672c\u683c\u7684\u3067\u3059\u3002&lt;\u672a\u5b8c\u6210&gt;</span></p>\n<ul>\n\t<li>\n\t\t<u>\u304a\u3059\u3059\u3081\u30e1\u30cb\u30e5\u30fc</u></li>\n</ul>\n<p class=\"indent1\">\n\t\u300c\u73c8\u7432\u9928\u30d6\u30ec\u30f3\u30c9\u300d(\u30ab\u30c3\u30d7 \u00a5420): <span style=\"\">&lt;\u672a\u5b8c\u6210&gt;</span></p>\n", "region": "https://ja.localwiki.org/api/v4/regions/1804/", "history_comment": "\"(\u3055\u3044\u305f\u307e\u65b0\u90fd\u5fc3)\" \u306b\u30ea\u30cd\u30fc\u30e0\u3055\u308c\u307e\u3057\u305f", "history_date": "2021-07-13T21:14:18.255", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/107840/", "history_user_ip": "2400:2412:5a2:5800:4f7:7406:d919:7a69" }