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/1408801/
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/1408801/", "name": "\u6804\u533a/\u533b\u7642\u6cd5\u4eba\u5927\u6a39\u4f1a", "slug": "\u6804\u533a/\u533b\u7642\u6cd5\u4eba\u5927\u6a39\u4f1a", "content": "<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u540d\u79f0</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u533b\u7642\u6cd5\u4eba\u5927\u6a39\u4f1a</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u6240\u5728\u5730</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<p>\n\t\t\t\t\t\u3012247-0006 <a href=\"https://ja.localwiki.org/main-ja/%E7%A5%9E%E5%A5%88%E5%B7%9D%E7%9C%8C\">\u795e\u5948\u5ddd\u770c</a><a href=\"https://ja.localwiki.org/main-ja/%E6%A8%AA%E6%B5%9C%E5%B8%82\">\u6a2a\u6d5c\u5e02</a><a href=\"https://ja.localwiki.org/main-ja/%E6%A0%84%E5%8C%BA\">\u6804\u533a</a>\u7b20\u9593\uff12\u4e01\u76ee\uff11\uff14\u2212\uff11 \u30bb\u30b5\u30df\u30b9\u30dd\u30fc\u30c4\u30af\u30e9\u30d6\u5927\u8239</p>\n\t\t\t\t<p>\n\t\t\t\t\t<a href=\"https://goo.gl/maps/s4eVJDYSqerkCaQ59\">Google \u30de\u30c3\u30d7</a></p>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u96fb\u8a71\u756a\u53f7</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<p>\n\t\t\t\t\tPhone :</p>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u55b6\u696d\u6642\u9593</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u00a0</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u5b9a\u4f11\u65e5</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u00a0</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u6cd5\u4eba\u756a\u53f7</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t4020005004800<a href=\"https://www.houjin-bangou.nta.go.jp/henkorireki-johoto.html?selHouzinNo=4020005004800\">\u56fd\u7a0e\u5e81\u6cd5\u4eba\u756a\u53f7\u516c\u8868\u30b5\u30a4\u30c8</a></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u00a0</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u8a2d\u7acb</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u00a0</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u4ee3\u8868\u8005</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u00a0</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u4fa1\u683c\u5e2f</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u00a0</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u652f\u6255\u3044\u65b9\u6cd5</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\uff08\u73fe\u91d1\u3001\u5c0f\u5207\u624b\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u3001\u305d\u306e\u4ed6\uff1f\uff09</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>\u8eca\u6905\u5b50\u3067\u306e\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\uff08\u968e\u6bb5\u3001\u5316\u7ca7\u5ba4\u3001\u624b\u3059\u308a\u3001\u901a\u8def\u306e\u5e45\uff1f\uff09</td>\n\t\t</tr>\n\t</tbody>\n</table>\n<h2>\n\t\u85e4\u533b\u7642\u6cd5\u4eba\u5927\u6a39\u4f1a</h2>\n<h3>\n\t\u696d\u7a2e</h3>\n<p>\n\t\u533b\u7642</p>\n<p>\n\t<a href=\"https://ja.localwiki.org/main-ja/%E6%A0%84%E5%8C%BA/%E3%81%BF%E3%81%AA%E3%81%8C%E3%82%8F%E5%86%85%E7%A7%91%E3%82%AF%E3%83%AA%E3%83%8B%E3%83%83%E3%82%AF\">\u307f\u306a\u304c\u308f\u5185\u79d1\u30af\u30ea\u30cb\u30c3\u30af</a><a href=\"https://goo.gl/maps/ZrPkkAaRc1ciTkLV7\">Google \u30de\u30c3\u30d7</a>\u306e\u958b\u8a2d\u8005</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/289/", "history_comment": null, "history_date": "2022-01-14T00:16:44.818", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110582/", "history_user_ip": "2001:bc8:1824:a06::1" }