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/1403796/
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/1403796/", "name": "\uff2a\uff32\u9ad8\u69fb\u99c5", "slug": "jr\u9ad8\u69fb\u99c5", "content": "<p>\n\t<strong>\u3053\u3053\u3067\u306f\u3001\uff2a\uff32\u9ad8\u69fb\u99c5 \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.85146/135.61778\"><strong>\u9ad8\u69fb\u5e02\u767d\u6885\u753a\uff11\uff0d\uff11</strong></a></p>\n<p>\n\t<strong>\u3010\u30dd\u30a4\u30f3\u30c8\u3011</strong></p>\n<p>\n\t\u2460\uff0e\u4e00\u65e5\u4e57\u964d\u5ba2\u300064,094\u4eba\uff082019\u5e74\uff09</p>\n<p>\n\t\u2461\uff0e\u99c5\u306e\u6cbf\u9769</p>\n<p>\n\t\u3000\u30fb\u660e\u6cbb\uff19\u5e74\uff081876\uff09\u306b\u958b\u8a2d\u3055\u308c\u305f\u3002</p>\n<p>\n\t\u3000\u30fb\u662d\u548c\uff13\uff12\u5e74\uff081957\uff09\u5927\u962a\u99c5\u9593\u306e\u8907\u3005\u7dda\u5316\u304c\u5b8c\u6210\u3002</p>\n<p>\n\t\u3000\u30fb\u662d\u548c\uff15\uff14\u5e74\uff081957\uff09\u6a4b\u4e0a\u99c5\u820e\u5b8c\u6210\u3002</p>\n<p>\n\t\u3000\u30fb\u5e73\u6210\uff11\uff16\u5e74\uff08\u99c5\u5317\u5074\u306e\u30a2\u30af\u30c8\u30a2\u30e2\u30fc\u30ec\u958b\u696d\u3001\u99c5\u30b3\u30f3\u30b3\u30fc\u30b9\u3068\u30da\u30c7\u30b9\u30c8\u30ea\u30a2\u30f3\u30c7\u30c3\u30ad\u3092\u76f4\u7d50</p>\n<p>\n\t\u3000\u30fb\u540c\u5e74\u3001\u30a8\u30ec\u30d9\u30fc\u30bf\u3001\u30a8\u30b9\u30ab\u30ec\u30fc\u30bf\u30fc\u304c\u4f75\u7528\u958b\u59cb\u3002</p>\n<p>\n\t\u3000\u30fb\u5e73\u6210\uff13\uff11\u5e74\uff082019\uff09\u304b\u3089\u9806\u6b21\u53ef\u52d5\u5f0f\u30db\u30fc\u30e0\u67f5\u3092\u8a2d\u7f6e\u3002</p>\n<p>\n\t<strong>\u3010\u95a2\u9023\u5199\u771f\u3011</strong></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<strong>\u3010\u53c2\u8003\u60c5\u5831\u3011</strong></p>\n<p>\n\tWikipedia\uff1a<a href=\"https://ja.wikipedia.org/wiki/%E9%AB%98%E6%A7%BB%E9%A7%85\"><strong>\uff2a\uff32\u9ad8\u69fb\u99c5</strong></a></p>\n<p>\n\t<strong>\u3010\u4ea4\u901a\u30a2\u30af\u30bb\u30b9\u3011</strong></p>\n<p>\n\t<strong>\uff2a\uff32\u6642\u523b\u8868</strong></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<strong>\u30d0\u30b9\u6642\u523b\u8868</strong></p>\n<p>\n\t\u00a0</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/960/", "history_comment": null, "history_date": "2021-10-23T21:14:45.704", "history_type": 1, "history_user": "https://ja.localwiki.org/api/v4/users/36498/", "history_user_ip": "182.165.235.219" }