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/1408960/
https://zh.localwiki.org/api/v4/pages_history/1408960/", "name": "6.16\u707d\u5bb3", "slug": "6.16\u707d\u5bb3", "content": "<p>\n\t6.16\u707d\u5bb3 \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\t1967\uff08\u662d\u548c42\uff09\u5e746\u670816\u65e5\u5915\u65b9\u3001\u5c0f\u8af8\u5e02\u3092\u8972\u3063\u305f\u96c6\u4e2d\u8c6a\u96e8\u707d\u5bb3</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/original_66ac3cf6-9644-46e9-8be9-8500d5b3b24f_Screenshot_20210614-025345.jpg\" style=\"width: 212px; height: 300px;\"></span></p>\n<p>\n\t\u00a0</p>\n<hr>\n<p>\n\t<a href=\"https://ja.localwiki.org/komoro/\">FrontPage</a>\u3078\u623b\u308b</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/1002/", "history_comment": null, "history_date": "2022-01-16T19:38:50.609", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/37186/", "history_user_ip": "124.143.50.116" }{ "url": "