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/1401851/
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/1401851/", "name": "\u5c71\u624b\u30a4\u30bf\u30ea\u30a2\u5c71\u5ead\u5712", "slug": "\u5c71\u624b\u30a4\u30bf\u30ea\u30a2\u5c71\u5ead\u5712", "content": "<h2>\n\t\u00a0</h2>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/S__226017293.jpg\" style=\"width: 300px; height: 207px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u5916\u4ea4\u5b98\u306e\u5bb6\uff08\u5165\u53e3\u5074\uff09</span></span></p>\n<p>\n\t\u5c71\u624b\u30a4\u30bf\u30ea\u30a2\u5c71\u5ead\u5712\u5468\u8fba\u306f\u3001\u304b\u3064\u3066\u660e\u6cbb13\u223c19\u5e74(1880~1886\u5e74)\u306b\u304b\u3051\u3066\u3001\u30a4\u30bf\u30ea\u30a2\u9818\u4e8b\u9928\u304c\u7f6e\u304b\u308c\u305f\u3053\u3068\u304b\u3089\u300c\u30a4\u30bf\u30ea\u30a2\u5c71\u300d\u3068\u547c\u3070\u308c\u3066\u3044\u307e\u3059\u3002</p>\n<p>\n\t\u6577\u5730\u5185\u306b\u306f\u5916\u4ea4\u5b98\u306e\u5bb6\u3001\u30d6\u30e9\u30d518\u756a\u9928\u3001\u5ead\u5712\u304c\u3042\u308a\u307e\u3059\u3002</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/S__226017296.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u5916\u4ea4\u5b98\u306e\u5bb6\uff08\u5ead\u5712\u5074\uff09</span></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/S__226017295.jpg\" style=\"width: 300px; height: 229px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u6771\u3092\u671b\u3080\u5ead\u5712</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/S__226017294.jpg\" style=\"width: 300px; height: 237px;\"><span style=\"width: 300px;\" class=\"image_caption\">\u5317\u3092\u671b\u3080\u5ead\u5712</span></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/S__226017297.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">18\u756a\u9928</span></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<strong>\u30a2\u30af\u30bb\u30b9</strong></p>\n<p>\n\tJR\u300c\u77f3\u5ddd\u753a\u300d\u99c5\u5143\u753a\u53e3\u304b\u3089\u5f92\u6b695\u5206\u3001<br>\n\tJR\u300c\u685c\u6728\u753a\u300d\u99c5\u304b\u3089\u3001\u795e\u5948\u5ddd\u4e2d\u592e\u4ea4\u901a11\u7cfb\u7d71\u300c\u30a4\u30bf\u30ea\u30a2\u5c71\u5ead\u5712\u524d\u300d\u4e0b\u8eca\u5f92\u6b691\u5206</p>\n<p>\n\t\u306e\u3068\u3053\u308d\u306b\u3042\u308a\u307e\u3059\u3002</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/954/", "history_comment": null, "history_date": "2021-09-16T08:25:29.760", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/108881/", "history_user_ip": "118.83.82.163" }