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/1421524/
https://zh.localwiki.org/api/v4/pages_history/1421524/", "name": "\u300c\u9f8d\u81bd\u300d\uff08\u5185\u5800\u529f\uff09", "slug": "\u9f8d\u81bd(\u5185\u5800\u529f)", "content": "<p>\n\t\u300c\u9f8d\u8b04\u300d\uff08\u5185\u5800\u529f\uff09 \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<span class=\"image_frame image_frame_border\"><img src=\"_files/1422765528_70.jpg\" style=\"width: 225px; height: 300px;\"></span>\u3000<span class=\"image_frame image_frame_border\"><img src=\"_files/1422765536_70.jpg\" style=\"width: 225px; height: 300px;\"></span></p>\n<p>\n\t\u6587\u5316\u30bb\u30f3\u30bf\u30fc\u30db\u30ef\u30a4\u30a8</p>\n<p>\n\t<a href=\"http://hizou.30maps.com/map/82676\">\u7891\u50cf\u30de\u30c3\u30d7</a></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<a href=\"https://ja.localwiki.org/komoro/%E5%86%85%E5%A0%80%E5%8A%9F%E3%81%AE%E5%BD%AB%E5%88%BB\">\u5185\u5800\u529f\u306e\u5f6b\u523b</a></p>\n<p>\n\t<a href=\"https://ja.localwiki.org/komoro/Front_Page\">Front Page</a>\u306b\u623b\u308b</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/1002/", "history_comment": "\"\u300c\u9f8d\u8b04\u300d\uff08\u5185\u5800\u529f\uff09\" \u306b\u30ea\u30cd\u30fc\u30e0\u3055\u308c\u307e\u3057\u305f", "history_date": "2022-06-08T17:28:04.217", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/37186/", "history_user_ip": "124.143.50.116" }{ "url": "