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/1403149/
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/1403149/", "name": "\u30cf\u30b7\u30d6\u30c8\u30ac\u30e9\u30b9\u304c\u30a8\u30be\u30ea\u30b9\u3092\u98df\u3079\u3066\u3044\u305f", "slug": "\u30cf\u30b7\u30d5\u30c8\u30ab\u30e9\u30b9\u304b\u30a8\u30bd\u30ea\u30b9\u3092\u98df\u3078\u3066\u3044\u305f", "content": "<p>\n\t\u30cf\u30b7\u30d6\u30c8\u30ac\u30e9\u30b9\u304c\u30a8\u30be\u30ea\u30b9\u3092\u98df\u3079\u3066\u3044\u305f \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\u5348\u5f8c\uff11\u6642\u904e\u304e\u306b\u672d\u5185\u306e\u306e\u307c\u308a\u3079\u3064\u916a\u8fb2\u9928\u306e\u3042\u305f\u308a\u306e\u9053\u3005\u3092\u8d70\u3063\u3066\u3044\u305f\u3089\u3001\u8def\u4e0a\u306b\u30a8\u30be\u30ea\u30b9\u304c\u5012\u308c\u3066\u3044\u305f\u3002\u8eca\u306b\u3072\u304b\u308c\u305f\u306e\u3060\u308d\u3046\u3001\u5f15\u304d\u8fd4\u3057\u3066\u78ba\u8a8d\u306b\u884c\u304f\u3068\u30cf\u30b7\u30d6\u30c8\u30ac\u30e9\u30b9\u304c\u3084\u3063\u3066\u304d\u3066\u5927\u304d\u306a\u304f\u3061\u3070\u3057\u3067\u3072\u3088\u3044\u3068\u6458\u307e\u307f\u4e0a\u3052\u3066\u6728\u306e\u4e0a\u3078\u3068\u79fb\u52d5\u3057\u305f\u3002\u98df\u3079\u308b\u305f\u3081\u306b\u8db3\u3067\u6291\u3048\u3066\u3064\u3064\u304d\u59cb\u3081\u305f\u3002\u30ab\u30e1\u30e9\u3092\u6025\u3044\u3067\u6bb5\u53d6\u308a\u3057\u3066\uff13\u679a\u307b\u3069\u64ae\u5f71\u3057\u305f\u3089\u3001\u3053\u3061\u3089\u304c\u6c17\u306b\u306a\u3063\u305f\u306e\u304b\u3001\u30dd\u30c8\u30ea\u3068\u30a8\u30be\u30ea\u30b9\u3092\u7b39\u306e\u4e2d\u306b\u843d\u3068\u3057\u3066\u3057\u307e\u3063\u305f\u3002\u7b39\u306f\u7d50\u69cb\u6df1\u304f\u3066\u30ab\u30e9\u30b9\u304b\u3089\u306f\u898b\u3048\u306a\u3044\u306e\u3060\u308d\u3046\u3001\u3057\u3070\u3057\u5446\u7136\u3068\u3057\u305f\u8868\u60c5\u3067\u6728\u306e\u4e0a\u306b\u305f\u305f\u305a\u3093\u3067\u3044\u305f\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_0013.jpg\" style=\"width: 300px; height: 200px;\"></span></p>\n<p>\n\t\u4ee4\u548c\uff13\u5e74\uff11\uff10\u6708\uff11\uff13\u65e5</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/351/", "history_comment": "\u65b0\u305f\u306a\u6587\u7ae0\u3068\u5199\u771f\u306e\u8ffd\u52a0", "history_date": "2021-10-13T22:24:45.944", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/57371/", "history_user_ip": "58.93.193.131" }