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 pageslug
. Supports the standard lookup typesregion
-- 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 theuser
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 typeshistory_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/1408957/
https://zh.localwiki.org/api/v4/pages_history/1408957/", "name": "1967\u5e74", "slug": "1967\u5e74", "content": "<p>\n\t1967\u5e74(\u662d\u548c42\u5e74\uff09\u306b\u3064\u3044\u3066\u77e5\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u305c\u3072\u6559\u3048\u3066\u304f\u3060\u3055\u3044</p>\n<ul>\n\t<li>\n\t\t6\u670816\u65e5\u3000<a href=\"6.16%E7%81%BD%E5%AE%B3\">6.16\u707d\u5bb3</a>\u767a\u751f</li>\n</ul>\n<p>\n\t\u00a0</p>\n<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td colspan=\"10\" style=\"text-align: center;\">\n\t\t\t\t<a href=\"https://ja.localwiki.org/komoro/%E5%B0%8F%E8%AB%B8%E3%81%AE%E5%B9%B4%E8%A1%A8/1960%E5%B9%B4%E4%BB%A3\"><strong>196</strong><strong><strong>0</strong>\u5e74\u4ee3</strong></a></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<a href=\"https://ja.localwiki.org/komoro/1960%E5%B9%B4\"><strong>1960</strong></a></td>\n\t\t\t<td>\n\t\t\t\t<strong>1961</strong></td>\n\t\t\t<td>\n\t\t\t\t<strong>1962</strong></td>\n\t\t\t<td>\n\t\t\t\t<strong>1963</strong></td>\n\t\t\t<td>\n\t\t\t\t<a href=\"https://ja.localwiki.org/komoro/1964%E5%B9%B4\"><strong>1964</strong></a></td>\n\t\t\t<td>\n\t\t\t\t<strong>1965</strong></td>\n\t\t\t<td>\n\t\t\t\t<strong>1966</strong></td>\n\t\t\t<td>\n\t\t\t\t<strong>1967</strong></td>\n\t\t\t<td>\n\t\t\t\t<strong>1968</strong></td>\n\t\t\t<td>\n\t\t\t\t<strong>1969</strong></td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t\u00a0</p>\n<hr>\n<p>\n\t<a href=\"https://ja.localwiki.org/komoro/\">FrontPage</a>\u306b\u623b\u308b</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/1002/", "history_comment": null, "history_date": "2022-01-16T19:37:03.684", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/37186/", "history_user_ip": "124.143.50.116" }{ "url": "