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/1403158/
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/1403158/", "name": "\u85e4\u6ca2\u5e02/\u85e4\u6ca2\u5e02\u30ac\u30b9\u4e8b\u696d\u5354\u540c\u7d44\u5408", "slug": "\u85e4\u6ca2\u5e02/\u85e4\u6ca2\u5e02\u30ab\u30b9\u4e8b\u696d\u5354\u540c\u7d44\u5408", "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\u85e4\u6ca2\u5e02\u30ac\u30b9\u4e8b\u696d\u5354\u540c\u7d44\u5408</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\u3012252-0823</p>\n\t\t\t\t<p>\n\t\t\t\t\t<a href=\"%E7%A5%9E%E5%A5%88%E5%B7%9D%E7%9C%8C\">\u795e\u5948\u5ddd\u770c</a><a href=\"%E8%97%A4%E6%B2%A2%E5%B8%82\">\u85e4\u6ca2\u5e02</a>\u83d6\u84b2\u6ca21415\u756a\u5730-2</p>\n\t\t\t\t<p>\n\t\t\t\t\t<a href=\"https://goo.gl/maps/RaBHWpKeivFzN73S9\">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 : 0466-48-2255</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\t08:30 - 17:30</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\u571f\u66dc\u65e5\u3001\u65e5\u66dc\u65e5</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\t1021005000123<a href=\"https://www.houjin-bangou.nta.go.jp/henkorireki-johoto.html?selHouzinNo=1021005000123\">\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<a href=\"https://www.fujisawa-gas.jp/\">https://www.fujisawa-gas.jp/</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>\u8a2d\u7acb</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t1978\u5e74\uff08\u662d\u548c53\u5e74\uff095\u6708</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\u6ca2\u5e02\u30ac\u30b9\u4e8b\u696d\u5354\u540c\u7d44\u5408</h2>\n<h3>\n\t\u696d\u7a2e</h3>\n<p>\n\t\u30d7\u30ed\u30d1\u30f3\u30ac\u30b9</p>\n<h3>\n\t\u5916\u90e8\u30ea\u30f3\u30af</h3>\n<ul>\n\t<li>\n\t\t<a href=\"https://www.fujisawa-gas.jp/\">\u85e4\u6ca2\u5e02\u30ac\u30b9\u4e8b\u696d\u5354\u540c\u7d44\u5408</a> - \uff08\u516c\u5f0f\u30b5\u30a4\u30c8\uff09</li>\n</ul>\n", "region": "https://ja.localwiki.org/api/v4/regions/289/", "history_comment": "", "history_date": "2021-10-14T05:07:49.604", "history_type": 5, "history_user": "https://ja.localwiki.org/api/v4/users/109289/", "history_user_ip": "2a06:3000::10" }