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/1401900/
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/1401900/", "name": "\u68ee\u5c71\u533a\u8acf\u8a2a\u795e\u793e\u524d\u306e\u9053\u7956\u795e", "slug": "\u68ee\u5c71\u533a\u8acf\u8a2a\u795e\u793e\u524d\u306e\u9053\u7956\u795e", "content": "<p>\n\t\u68ee\u5c71\u533a\u8acf\u8a2a\u795e\u793e\u524d\u306e\u9053\u7956\u795e \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\u8acf\u8a2a\u795e\u793e\u306e\u53c2\u9053\u968e\u6bb5\u624b\u524d\u5de6\u5074\u306b\u3042\u308a\u307e\u3059\u3002</p>\n<p>\n\t\u9053\u7956\u795e\u3001\u733f\u7530\u5f66\u5927\u795e\u3001\u9670\u967d\u77f3\u304c\u4e26\u3093\u3067\u3044\u307e\u3059\u3002</p>\n<p>\n\t<img src=\"https://lh3.googleusercontent.com/FOqIO4fawCdKq0qGkAuTXhrY55b6Wej3hm0LN7C76XJXhR8e1yKBuwq76shGVu9rhzxrJbBvgVOgAR-ZjyORcDNwbcm5OKKtW8WGYMZ3AR3iJ2zawvzl5WniBzEh8ERfrHPRLyifelRqu_WIk4RfUDMrTPOVSK4RxueFuI5k0Ufk7rRihTjzCaPtefTKyc1Fe5_6QfL8bh3B1OyQOvPBvnUb9GEuSGN36zk73i85xnaAqkry-hhYq9rV1GMqf9Q7j4o3CTTw5bYePMwA0fMJfkTwSzTyaSW9jO18kZBUyebpCKVpuLrhDcoA112XhGoQRbKNI7n3nZz0ezIRT7xz-27rcFNi3W2RxIhX79uwA0WAK7ZmGJjXdH1xJvXbdrDJXLe8mCo-djkss-77OQ2jyAuoVVxWn2mIRrEaSvs_iGXfDUm56fyRo3QKjzZzHiV7aae55zjDqlzH_ntpoIMKHu-zQfqIbPATjCdBinjt68MU302MefXjX0roP5WkA_nPd27mJJtU4m-MsU-EB0WMWnQ5QZ_Nr7yekYHodCiVvc_wcQS4TFvsZe-FdrsxnHHCqUSDHCGfuBctEqQGYteNjD-kccvy97-6BGQyVmh2CiYjrh4k4A6GIJdabAu1l5ZSzRr2BDaihvlPakfgRNyyVzqlNZEqSSHcF0Z8zRl5o35FxdD6WZCPHd2Rxphsux-dTxk19XqWGgbCdNRdCfA8s4XXaA=w757-h568-no?authuser=0\"></p>\n", "region": "https://ja.localwiki.org/api/v4/regions/1002/", "history_comment": "\u9805\u76ee\u65b0\u8a2d", "history_date": "2021-09-16T17:24:13.266", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/37186/", "history_user_ip": "124.143.50.116" }