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/1403189/
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/1403189/", "name": "\u30a6\u30eb\u30c8\u30e9\u30bb\u30d6\u30f3\u7b2c29\u8a71", "slug": "\u30a6\u30eb\u30c8\u30e9\u30bb\u30d5\u30f3\u7b2c29\u8a71", "content": "<p>\n\t\u30a6\u30eb\u30c8\u30e9\u30bb\u30d6\u30f3\u7b2c29\u8a71 \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<a href=\"https://www.dailymotion.com/video/x7y938r?fbclid=IwAR3CQTAOxZRD7uJ7Yvdaq3LoSXJEUIOC3AZtcdv3qgtPdH8u7uuKUYOMxfY\">\u7b2c29\u8a71\u300c\u3072\u3068\u308a\u307c\u3063\u3061\u306e\u5730\u7403\u4eba\u300d</a></p>\n<p>\n\t1:41\u306b\u5927\u9688\u8b1b\u5802\u304c<span style=\"\">\u300c\u4eac\u5357\u5927\u5b66\u300d\u3068\u3057\u3066\u4e00\u77ac\u767b\u5834\u3002</span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u300c\u3072\u3068\u308a\u307c\u3063\u3061\u306e\u5730\u7403\u4eba\u300d\u3067\u5b66\u7fd2\u9662\u5927\u5b66\u304c\u30ed\u30b1\u5730\u3068\u306a\u3063\u305f\u306e\u306f\u3001\u5186\u8c37\u4e00\u6c0f\u304c\u5b66\u7fd2\u9662\u5927\u5b66\u51fa\u8eab\u3067\u3042\u308a\u3001\u305d\u306e\u30b3\u30cd\u304c\u3042\u3063\u305f\u305f\u3081\u3002 \u300c\u4eac\u5357\u5927\u5b66\u300d\u306b\u65e9\u7a32\u7530\u5927\u5b66\uff08\u6e80\u7530\u76e3\u7763\u306e\u51fa\u8eab\u5927\u5b66\uff09\u3068\u5b66\u7fd2\u9662\u5927\u5b66\u3068\u306e\u4e21\u65b9\u3092\u4f7f\u3063\u305f\u306e\u306f\u3001\u300c\u4eac\u5357\u5927\u5b66\u300d\u3092\u67b6\u7a7a\u306e\u5927\u5b66\u3068\u3057\u305f\u304b\u3063\u305f\u304b\u3089\u3002</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u3060\u305d\u3046\u3067\u3059\u3002</p>\n<p>\n\t<a href=\"https://www.facebook.com/groups/228418653867018/posts/6281789068529916/\">facebook\u7a32\u9580\u30af\u30e9\u30d6\u306e2021/10/12\u306e\u6295\u7a3f</a>\u304b\u3089</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\uff46</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/2267/", "history_comment": "\u9805\u76ee\u65b0\u8a2d", "history_date": "2021-10-14T17:28:20.049", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/37186/", "history_user_ip": "124.143.50.116" }