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/1414593/
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/1414593/", "name": "\u3042\u308a\u304c\u3068\u3046\u9023\u7d61\u4f1a", "slug": "\u3042\u308a\u304b\u3068\u3046\u9023\u7d61\u4f1a", "content": "<p>\n\t<strong>\u3042\u308a\u304c\u3068\u3046\u9023\u7d61\u4f1a</strong>\uff08\u3042\u308a\u304c\u3068\u3046\u308c\u3093\u3089\u304f\u304b\u3044\uff09\u306f\u3001<a href=\"%E8%B6%B3%E6%9F%84%E5%B9%B3%E9%87%8E\">\u8db3\u67c4\u5e73\u91ce</a>\u4e00\u4f53\u3067\u7523\u696d\u5ec3\u68c4\u7269\u51e6\u7406\u696d\u3092\u3057\u3066\u3044\u308b\u5b9d\u6804\u7523\u696d\uff08\u682a\uff09\uff08\u4ee3\u8868\u53d6\u7de0\u5f79\uff1a\u5c71\u7530\u8087\u3001\u672c\[email protected]<a href=\"%E6%9B%BD%E6%AF%94\">\u66fd\u6bd4</a>\uff09\u306e\u300c\u3042\u308a\u304c\u3068\u3046\u4e8b\u696d\u90e8\u300d\uff08\u8db3\u67c4\u4e8b\u52d9\[email protected]<a href=\"%E5%A1%9A%E5%8E%9F\">\u585a\u539f</a>\uff09\u304c\u904b\u55b6\u3057\u3066\u3044\u308b\u3068\u601d\u308f\u308c\u308b\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u30022018\u5e74\u9803\u304b\u3089\u30d6\u30ed\u30b0\u3067\u6708\u306b\u6570\u56de\u3001\u8db3\u67c4\u5e73\u91ce\u4e00\u4f53\u306e\u884c\u697d\u60c5\u5831\u306a\u3069\u3092\u767a\u4fe1\u3057\u3066\u3044\u308b\u3002</p>\n<p>\n\t\u540c\u4f1a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306b\u306f\u4f1a\u793e\u60c5\u5831\u306e\u8a18\u8f09\u304c\u7121\u3044\u304c\u3001facebook\u306b\u4f4f\u6240\u3068\u96fb\u8a71\u756a\u53f7\u306e\u8a18\u8f09\u304c\u3042\u308a\u3001\u5b9d\u6804\u7523\u696d\uff08\u682a\uff09\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3092\u53c2\u7167\u3059\u308b\u3068\u3001\u4f4f\u6240\u30fb\u96fb\u8a71\u756a\u53f7\u306f\u540c\u793e\u8db3\u67c4\u4e8b\u52d9\u6240\u306e\u3082\u306e\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u3002</p>\n<h2>\n\t\u4f4f\u6240</h2>\n<p>\n\t\u5357\u8db3\u67c4\u5e02\u585a\u539f4373-12</p>\n<h2>\n\t\u96fb\u8a71\u756a\u53f7</h2>\n<p>\n\t0465-70-6606</p>\n<h2>\n\t\u30ea\u30f3\u30af</h2>\n<ul>\n\t<li>\n\t\t<a href=\"https://www.hoeis.co.jp/facilities/\">\u5b9d\u6804\u7523\u696d\uff08\u682a\uff09\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8</a></li>\n\t<li>\n\t\t<a href=\"http://www.ariga-10.jp/index.php\">\u3042\u308a\u304c\u3068\u3046\u9023\u7d61\u4f1a\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8</a>\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\t<a href=\"http://ariga-10.jp/07_blog/\">\u30d6\u30ed\u30b0</a></li>\n\t\t</ul>\n\t</li>\n\t<li>\n\t\t<a href=\"https://www.facebook.com/ariga10jp\">facebook \u3042\u308a\u304c\u3068\u3046\u9023\u7d61\u4f1a</a></li>\n</ul>\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-03-16T01:20:07.172", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:d8ce:dacf:e9c7:293c" }