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/1398492/
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/1398492/", "name": "\u4e09\u5ca1\u6751\u9053\u8def\u5143\u6a19", "slug": "\u4e09\u5ca1\u6751\u9053\u8def\u5143\u6a19", "content": "<p>\n\t\u65e7\u4e09\u5ca1\u6751\u9053\u8def\u5143\u6a19 \u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u305c\u3072\u6559\u3048\u3066\u304f\u3060\u3055\u3044</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span style=\"\">(\u65e7)\u9053\u8def\u6cd5\u65bd\u884c\u4ee4\u7b2c\u4e5d\u6761(\u5927\u6b638\u5e74)\u306b\u300c\u9053\u8def\u5143\u6a19\u30cf \u5404\u5e02\u753a\u6751\u30cb \u4e00\u7b87\u30f2\u7f6e\u30af\u300d\u3068\u5b9a\u3081\u3089\u308c\u305f\u9053\u8def\u5143\u6a19\u3002</span><br>\n\t<br>\n\t<span style=\"\">\u65e7 \u4e09\u5ca1\u6751\u9053\u8def\u5143\u6a19\u306f</span><span style=\"\">\u8033\u53d6\u306e\u7384\u6c5f\u9662\u8fd1\u304f\u306b\u8a2d\u7f6e\u3055\u308c\u3066\u3044\u307e\u3059\u3002</span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/IMAG6672.jpg\" style=\"width: 300px; height: 300px;\"></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<br>\n\t<span style=\"\">\u6a19\u77f3\u306e\u69d8\u5f0f\u306f</span><a style=\"\" href=\"http://www.komoro.or.jp/moto-t01.html\">\u5927\u6b63\uff11\uff11\u5e74\u306e\u5185\u52d9\u7701\u4ee4\u7b2c\uff12\uff10\u53f7</a><span style=\"\">\u306b\u5b9a\u3081\u3089\u308c\u3066\u3044\u307e\u3059\u3002</span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u306a\u304a\u5c0f\u8af8\u5e02\u5185\u306b\u306f</p>\n<p>\n\t\u3000<a href=\"https://ja.localwiki.org/komoro/%E6%97%A7_%E5%B0%8F%E8%AB%B8%E7%94%BA%E9%81%93%E8%B7%AF%E5%85%83%E6%A8%99\">\u65e7\u5c0f\u8af8\u753a\u9053\u8def\u5143\u6a19</a><span style=\"\">\u3000\uff08</span><a href=\"https://www.openstreetmap.org/node/7902528885\">\u4f4d\u7f6e</a><span style=\"\">\u3000\u30aa\u30fc\u30d7\u30f3\u30b9\u30c8\u30ea\u30fc\u30c8\u30de\u30c3\u30d7\uff09</span></p>\n<p>\n\t\u3000<a href=\"https://ja.localwiki.org/komoro/%E6%97%A7%E5%8D%97%E5%A4%A7%E4%BA%95%E6%9D%91%E9%81%93%E8%B7%AF%E5%85%83%E6%A8%99\">\u65e7\u5357\u5927\u4e95\u6751\u9053\u8def\u5143\u6a19</a>\u3000\uff08<a href=\"https://www.openstreetmap.org/node/7903671320\">\u4f4d\u7f6e</a>\u3000\u30aa\u30fc\u30d7\u30f3\u30b9\u30c8\u30ea\u30fc\u30c8\u30de\u30c3\u30d7\uff09</p>\n<p>\n\t\u4f50\u4e45\u5e02\u5185\u306b\u306f</p>\n<p>\n\t\u3000<a href=\"https://ja.localwiki.org/saku/%E5%B2%A9%E6%9D%91%E7%94%B0%E7%94%BA%E9%81%93%E8%B7%AF%E5%85%83%E6%A8%99\">\u5ca9\u6751\u7530\u753a\u9053\u8def\u5143\u6a19</a></p>\n<p>\n\t<a href=\"https://ja.localwiki.org/saku/%E5%8D%97%E5%BE%A1%E7%89%A7%E6%9D%91%E9%81%93%E8%B7%AF%E5%85%83%E6%A8%99\">\u3000\u5357\u5fa1\u7267\u6751\u9053\u8def\u5143\u6a19</a></p>\n<p>\n\t<a href=\"https://ja.localwiki.org/saku/%E6%9C%AC%E7%89%A7%E6%9D%91%E9%81%93%E8%B7%AF%E5%85%83%E6%A8%99\">\u3000\u672c\u7267\u6751\u9053\u8def\u5143\u6a19</a></p>\n<p>\n\t\u3000</p>\n<p>\n\t\u3000\u304c\u6b8b\u3063\u3066\u3044\u307e\u3059\u3002</p>\n<p>\n\t\u53c2\u8003\u3000<a href=\"http://www.komoro.or.jp/index.html#omosiro\">\u79cb\u8349\u3055\u3093</a>\u306e\u300c<a href=\"http://www.komoro.or.jp/moto-main.html\">\u5c0f\u8af8\u306e\u5143\u6a19</a>\u300d\u306e\u30da\u30fc\u30b8</p>\n<p>\n\t\u00a0</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/1002/", "history_comment": "\"\u65e7\u4e09\u5ca1\u6751\u9053\u8def\u5143\u6a19\" \u306b\u30ea\u30cd\u30fc\u30e0\u3055\u308c\u307e\u3057\u305f", "history_date": "2021-07-14T06:24:53.357", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/37186/", "history_user_ip": "124.143.50.116" }