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/1422564/
https://zh.localwiki.org/api/v4/pages_history/1422564/", "name": "\u51a8\u5cb8\u5ddd\u306e\u3054\u307f", "slug": "\u51a8\u5cb8\u5ddd\u306e\u3053\u307f", "content": "<p>\n\t\u51a8\u5cb8\u5ddd\u306e\u3054\u307f \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\u3000\u5bcc\u5cb8\u5ddd\u306e\u4e0b\u6d41\u90e8\u306e\u3054\u307f\u3002\u307c\u3093\u3067\u3093\u306a\u3069\u304b\u6d77\u304b\u3089\u306e\u6f02\u6d41\u7269\u304c\u591a\u3044\u3002\u898b\u3066\u3044\u308b\u3068\u6628\u5e74\u304b\u3089\u306e\u3082\u306e\u3060\u3002\u3053\u3053\u3082\u6383\u9664\u3057\u3066\u304d\u308c\u3044\u306b\u3057\u305f\u3044\u306a\u3002</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/%E5%A4%89%E6%8F%9B%20%EF%BD%9E%20DSC_0008.jpg\" style=\"width: 300px; height: 200px;\"></span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/%E5%A4%89%E6%8F%9B%20%EF%BD%9E%20DSC_0009.jpg\" style=\"width: 300px; height: 200px;\"></span></p>\n<p>\n\t\u4ee4\u548c\uff14\u5e74\uff15\u6708\uff12\uff18\u65e5\u73fe\u5728\u306e\u72b6\u6cc1</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/351/", "history_comment": "\u65b0\u305f\u306a\u6587\u7ae0\u3068\u5199\u771f\u306e\u8ffd\u52a0", "history_date": "2022-06-24T22:48:22.919", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/57371/", "history_user_ip": "60.35.46.115" }{ "url": "