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/1422576/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/pages_history/1422576/", "name": "\u7b52\u4e95\u6c60\u516c\u5712\uff08\u5357\u90e8\uff09", "slug": "\u7b52\u4e95\u6c60\u516c\u5712(\u5357\u90e8)", "content": "<p>\n\t<strong>\u3053\u3053\u3067\u306f\u3001\u7b52\u4e95\u6c60\u516c\u5712\uff08\u5357\u90e8\uff09 \u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002</strong></p>\n<p>\n\t\u5728\u6240\uff1a<a href=\"https://umap.openstreetmap.fr/ja/map/2021_10_23_540965#17/34.83063/135.59669\"><strong>\u5bcc\u7530\u753a\u4e94\u4e01\u76ee\uff11\uff17</strong></a></p>\n<p>\n\t<strong>\u3010\u30dd\u30a4\u30f3\u30c8\u3011</strong></p>\n<p>\n\t\u2460\uff0e\u5225\u540d\u300c\u7d05\u5c4b\u6c60\u300d\u3068\u3082\u3002</p>\n<p>\n\t\u2461\uff0e\u3053\u3058\u3093\u307e\u308a\u3068\u3057\u305f\u5c0f\u6c60\u3060\u304c\u6c60\u7554\u306b\u306f\u904a\u6b69\u9053\u304c\u3042\u308a\u6771\u5074\u306b\u306f\u4f11\u61a9\u3067\u304d\u308b\u6771\u5c4b\u304c\u3042\u308b\u3002</p>\n<p>\n\t\u2462\uff0e\u6c60\u306e\u5468\u8fba\u306f\u685c\u306b\u8986\u308f\u308c\u3001\u590f\u306f\u7dd1\u4e00\u8272\u306b\u8986\u308f\u308c\u308b\u61a9\u3044\u306e\u516c\u5712</p>\n<p>\n\t\u2463\uff0e\u304b\u3063\u3066\u306f\u3001\u4f55\u500d\u3082\u306e\u3042\u308b\u5927\u304d\u306a\u6c60\u3060\u3063\u305f\u304c\u3001\u4f4f\u5b85\u5efa\u8a2d\u306a\u3069\u306e\u305f\u3081\u306b\u57cb\u3081\u7acb\u3066\u3089\u308c\u305f\u3002</p>\n<p>\n\t<strong>\u3010\u95a2\u9023\u5199\u771f\u3011</strong></p>\n<p>\n\t\u3000<span class=\"image_frame image_frame_border\"><img src=\"_files/1.%E8%A5%BF%E5%8C%97%E5%85%A5%E5%8F%A32022_06_20%20%E9%87%91%E5%8F%AA10%25.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u897f\u5317\u5165\u53e32022_06_20 \u91d1\u53ea</span></span>\u00a0 \u3000<span class=\"image_frame image_frame_border\"><img src=\"_files/2.%E8%A5%BF%E5%8C%97%E5%85%A5%E5%8F%A3%E3%81%8B%E3%82%89%E7%B6%9A%E3%81%8F%E9%81%8A%E6%AD%A9%E9%81%932022_06_20%20%E9%87%91%E5%8F%AA10%25.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u897f\u5317\u5165\u53e3\u304b\u3089\u7d9a\u304f\u904a\u6b69\u90532022_06_20 \u91d1\u53ea</span></span>\u00a0 \u3000</p>\n<p>\n\t\u3000<span class=\"image_frame image_frame_border\"><img src=\"_files/3.%E6%9D%B1%E5%81%B4%E9%81%8A%E6%AD%A9%E9%81%932022_06_20%20%E9%87%91%E5%8F%AA10%25.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u6771\u5074\u904a\u6b69\u90532022_06_20 \u91d1\u53ea</span></span>\u00a0 \u3000<span class=\"image_frame image_frame_border\"><img src=\"_files/4.%E6%B1%A0%E3%81%AE%E4%B8%AD%E3%81%AE%E5%99%B4%E6%B0%B42022_06_20%20%E9%87%91%E5%8F%AA10%25.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u6c60\u306e\u4e2d\u306e\u5674\u6c342022_06_20 \u91d1\u53ea</span></span>\u00a0 \u3000</p>\n<p>\n\t\u3000<span class=\"image_frame image_frame_border\"><img src=\"_files/5.%E4%BC%91%E6%86%A9%E6%89%802022_06_20%20%E9%87%91%E5%8F%AA10%25.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u4f11\u61a9\u62402022_06_20 \u91d1\u53ea</span></span>\u00a0 \u3000<span class=\"image_frame image_frame_border\"><img src=\"_files/6.%E8%A5%BF%E5%8D%97%E3%81%AE%E5%87%BA%E5%8F%A32022_06_20%20%E9%87%91%E5%8F%AA10%25.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u897f\u5357\u306e\u51fa\u53e32022_06_20 \u91d1\u53ea</span></span>\u00a0 \u3000</p>\n<p>\n\t\u3000</p>\n<p>\n\t\u3010\u53c2\u8003\u60c5\u5831\u3011</p>\n<p>\n\t\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\uff1a<a href=\"http://www.kyoto-osaka.com/guide/spot/0097_k&amp;t_pond.html\">\u5c0f\u5bfa\u6c60\u3068\u7b52\u4e95\u6c60</a></p>\n", "region": "https://zh.localwiki.org/api/v4/regions/960/", "history_comment": null, "history_date": "2022-06-25T07:20:52.493", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/36498/", "history_user_ip": "180.147.183.187" }