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/1422000/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/pages_history/1422000/", "name": "\u5341\u6587\u5b57\u5ddd", "slug": "\u5341\u6587\u5b57\u5ddd", "content": "<p>\n\t\u6c5f\u6238\u6642\u4ee3\u571f\u77e5\u5ddd\u3068\u66f8\u3044\u3066\u3069\u3062\u304c\u308f\u3068\u547c\u3070\u308c\u3066\u3044\u305f\uff08\u9045\u304f\u3068\u3082\u5bdb\u653f10\u5e74\u30fb1798\u5e74\u306e\u53e4\u5730\u56f3\u3067\u306f\u571f\u77e5\u5ddd\u3068\u8a18\u8f09\uff09</p>\n<p>\n\t\u305d\u306e\u5f8c\u5341\u6587\u5b57\u5ddd\u3068\u66f8\u3044\u3066\u3069\u3058\u304c\u308f\u3068\u547c\u3070\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3002</p>\n<p>\n\t\u305d\u306e\u7531\u6765\u306f\u4eca\u306e\u6885\u7389\u65c5\u9928\u524d\u3067\u571f\u77e5\u5ddd\u3068\u57ce\u4e0b\u753a\u5185\u3092\u7e26\u65ad\u3059\u308b\u6d66\u5ddd\uff08\u534a\u7530\u7528\u6c34\uff09\u3068\u304c\u76f4\u89d2\u306b\u4ea4\u5dee\u3057\u3066\u3044\u308b\u3053\u3068\u304b\u3089\u3068\u3055\u308c\u3066\u3044\u308b\u3002</p>\n<p>\n\t\u8107\u5742\u5bb6\u8ee2\u5c01\u5f8c\u306e\u3053\u3068\u3060\u304c\u3001\u5bb6\u5b9d\u3067\u3042\u308b\u5341\u6587\u5b57\u69cd\u3068\u306e\u56e0\u679c\u306f\u4e0d\u660e\u3002</p>\n<p>\n\t\u4e0b\u6d41\u306b\u5341\u6587\u5b57\u5ddd\u306e\u6c34\u3092\u5229\u7528\u3057\u305f\u6c34\u8eca\u5834\uff08\u677f\u5834\uff09\u304c\u3042\u308a\u3001\u7c73\u306e\u7cbe\u767d\u3084\u643e\u6cb9\u306b\u4f7f\u308f\u308c\u308b\u306a\u3069\u85e9\u306e\u91cd\u8981\u306a\u65bd\u8a2d\u3067\u3042\u3063\u305f\u3002</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/1069/", "history_comment": null, "history_date": "2022-06-14T22:06:18.135", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/113453/", "history_user_ip": "2400:4153:a343:4910:c081:9ea6:af3c:d09f" }