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/1401878/
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/1401878/", "name": "\u6a2a\u6d5c\u958b\u6e2f\u8cc7\u6599\u9928", "slug": "\u6a2a\u6d5c\u958b\u6e2f\u8cc7\u6599\u9928", "content": "<p class=\"MsoNormal\">\n\t\u958b\u6e2f\u767e\u5e74\u3092\u8a18\u5ff5\u3057\u3066\u7de8\u7e82\u3055\u308c\u305f\u300c\u6a2a\u6d5c\u5e02\u53f2\u300d\u306e\u8cc7\u6599\u3092\u3082\u3068\u306b\u3057\u3066\u3001<span>1981</span>\u5e74\u306b\u958b\u9928\u3057\u305f\u8cc7\u6599\u9928\u3067\u3042\u308b\u3002\u3053\u306e\u571f\u5730\u306f\u3001\u65e5\u7c73\u548c\u89aa\u6761\u7d04\u7de0\u7d50\u304c\u7de0\u7d50\u3055\u308c\u305f\u5834\u6240\u3068\u8a00\u308f\u308c\u3066\u304a\u308a\u3001\u6a2a\u6d5c\u306e\u6b74\u53f2\u3092\u660e\u3089\u304b\u306b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u306b\u8a2d\u7acb\u3055\u308c\u305f\u3002</p>\n<p class=\"MsoNormal\">\n\t\u5b9f\u306f\u3053\u306e\u8cc7\u6599\u9928\u3001\u9b45\u529b\u306f\u6a2a\u6d5c\u306e\u6b74\u53f2\u3092\u582a\u80fd\u3067\u304d\u308b\u3053\u3068\u3060\u3051\u3067\u306f\u306a\u3044\u3002\u4e2d\u5ead\u306b\u3042\u308b\u300c\u7389\u6960\u306e\u6728\u300d\u3001\u901a\u79f0\u300c\u305f\u307e\u304f\u3059\u300d\u3068\u3044\u3046\u5927\u304d\u306a\u6728\u306e\u5b58\u5728\u3060\u3002\u3053\u306e\u6728\u306f\u3001\u65e5\u7c73\u548c\u89aa\u6761\u7d04\u7de0\u7d50\u306e\u6642\u304b\u3089\u3042\u3063\u305f\u3068\u3044\u308f\u308c\u3066\u304a\u308a\u3001\u4e8c\u5ea6\u306e\u706b\u707d\u3092\u3078\u3066\u5909\u5f62\u3057\u306a\u304c\u3089\u3082\u4eba\u3005\u306e\u6b74\u53f2\u3092\u898b\u5b88\u3063\u3066\u304d\u305f\u3002</p>\n<p class=\"MsoNormal\">\n\t\u5e73\u65e5\u306e\u304a\u663c\u6642\u306b\u3001\u305f\u307e\u304f\u3059\u306e\u6728\u3092\u4e2d\u5fc3\u306b\u5e83\u304c\u308b\u4e2d\u5ead\u306e\u30d9\u30f3\u30c1\u306b\u306f\u3001\u30b5\u30e9\u30ea\u30fc\u30de\u30f3\u305f\u3061\u304c\u5b89\u3089\u3050\u59ff\u304c\u898b\u53d7\u3051\u3089\u308c\u308b\u3002\u50cd\u304f\u4eba\u306e\u59ff\u304c\u5370\u8c61\u7684\u306a\u6a2a\u6d5c\u958b\u6e2f\u8cc7\u6599\u9928\u306e\u5468\u8fba\u3067\u3001\u3053\u3053\u306f\u5f7c\u3089\u306e\u4f11\u61a9\u30b9\u30dd\u30c3\u30c8\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3060\u3002\u65e5\u672c\u304c\u5927\u304d\u306a\u5909\u5316\u3092\u9042\u3052\u305f\u9803\u304b\u3089\u73fe\u5728\u306b\u81f3\u308b\u307e\u3067\u3001\u7389\u6960\u306e\u6728\u306f\u4eba\u3005\u306b\u5bc4\u308a\u6dfb\u3063\u3066\u304d\u305f\u3002\u305d\u3057\u3066\u4eca\u65e5\u3082\u8ab0\u304b\u306e\u65e5\u5e38\u3092\u305d\u3063\u3068\u898b\u5b88\u3063\u3066\u3044\u308b\u3053\u3068\u3060\u308d\u3046\u3002</p>\n<p class=\"MsoNormal\">\n\t\uff08\u53c2\u8003\uff1ahttp://www.kaikou.city.yokohama.jp/message/index.html\uff09</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/954/", "history_comment": null, "history_date": "2021-09-16T09:09:57.108", "history_type": 1, "history_user": "https://ja.localwiki.org/api/v4/users/108850/", "history_user_ip": "118.6.226.172" }