Historical Redirect List

API endpoint that allows redirect history to be viewed.

Filter fields

You can filter the result set by providing the following query parameters:

  • source -- Filter by source slug. Supports the standard lookup types
  • destination -- Filter by destination page. Allows for chained filtering on all of the filters available on the page resource, e.g. destination__slug.
  • 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:

  • source
  • history_date

You can reverse ordering by using the - sign, e.g. -source.

GET /api/v4/redirects_history/?p=2
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "count": 26255, "next": "https://zh.localwiki.org/api/v4/redirects_history/?p=3", "previous": "https://zh.localwiki.org/api/v4/redirects_history/?p=1", "results": [ { "url": "https://zh.localwiki.org/api/v4/redirects_history/32244/", "source": "\u5929\u6842\u9662", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418880/", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-08T23:29:39.706", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:753b:c5d4:e4a5:4716" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32243/", "source": "itec\u30bd\u30ea\u30e5\u30fc\u30b7\u30e7\u30f3\u30b9 \u672c\u793e", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418882/", "region": "https://zh.localwiki.org/api/v4/regions/350/", "history_comment": null, "history_date": "2022-05-08T23:27:25.939", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/32679/", "history_user_ip": "59.129.215.91" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32242/", "source": "\u30cf\u30b9\u30bf\u30c6\u30c8\u30fc\u30e2", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418860/", "region": "https://zh.localwiki.org/api/v4/regions/350/", "history_comment": null, "history_date": "2022-05-08T22:52:44.788", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/32679/", "history_user_ip": "59.129.215.91" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32241/", "source": "\u5409\u7965\u9662", "destination": "https://zh.localwiki.org/api/v4/pages_history/1412605/", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": "\u30da\u30fc\u30b8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f", "history_date": "2022-05-07T20:52:27.595", "history_type": 2, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:8037:393:b9:518f" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32240/", "source": "1939-40 basketball cheerleading roster", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418722/", "region": "https://zh.localwiki.org/api/v4/regions/2590/", "history_comment": null, "history_date": "2022-05-06T21:45:17.144", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/109161/", "history_user_ip": "2603:7081:c06:f892:f51b:b7a6:6af6:f591" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32239/", "source": "6\u65e5 \u5e02\u9577\u5ba4\u5c0f\u7530\u539f\u5e02\u7d71\u4e00\u6559\u4f1a\u304b\u3089\u5bc4\u9644\u3092\u53d7\u3051\u308b", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418674/", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-06T08:03:26.801", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:b08b:e5b9:138b:9c66" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32238/", "source": "2\u65e5 \u5e02\u9577\u5ba4\u5c0f\u7530\u539f\u5e02\u7d71\u4e00\u6559\u4f1a\u304b\u3089\u5bc4\u9644\u3092\u53d7\u3051\u308b", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418674/", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-06T08:03:26.729", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:b08b:e5b9:138b:9c66" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32237/", "source": "6\u65e5 \u5e02\u9577\u5ba4\u5c0f\u7530\u539f\u5e02\u7d71\u4e00\u6559\u4f1a\u304b\u3089\u5bc4\u9644\u3092\u53d7\u3051\u308b", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418666/", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": "\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f", "history_date": "2022-05-06T08:03:26.564", "history_type": 3, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:b08b:e5b9:138b:9c66" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32236/", "source": "6\u65e5 \u5e02\u9577\u5ba4\u5c0f\u7530\u539f\u5e02\u7d71\u4e00\u6559\u4f1a\u304b\u3089\u5bc4\u9644\u3092\u53d7\u3051\u308b", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418664/", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-06T06:49:05.799", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:b08b:e5b9:138b:9c66" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32235/", "source": "\u81e8\u6e08\u5b97\u5efa\u9577\u5bfa\u6d3e", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418606/", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-05T11:06:39.243", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:a085:e68b:e2f0:a015" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32234/", "source": "\u81e8\u6e08\u5b97\u5927\u5fb3\u5bfa\u6d3e", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418603/", "region": "https://zh.localwiki.org/api/v4/regions/2638/", "history_comment": null, "history_date": "2022-05-05T10:58:19.542", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:a085:e68b:e2f0:a015" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32233/", "source": "list of norfolk city mayors (1682 - present)", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418503/", "region": "https://zh.localwiki.org/api/v4/regions/1612/", "history_comment": null, "history_date": "2022-05-04T08:08:47.460", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/84668/", "history_user_ip": "216.12.63.178" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32232/", "source": "list of norfolk city mayors (1736 - present)", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418503/", "region": "https://zh.localwiki.org/api/v4/regions/1612/", "history_comment": null, "history_date": "2022-05-04T08:08:47.440", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/84668/", "history_user_ip": "216.12.63.178" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32231/", "source": "list of norfolk city mayors (1682 - present)", "destination": "https://zh.localwiki.org/api/v4/pages_history/1376579/", "region": "https://zh.localwiki.org/api/v4/regions/1612/", "history_comment": "Redirect created", "history_date": "2022-05-04T08:08:47.265", "history_type": 3, "history_user": "https://zh.localwiki.org/api/v4/users/84668/", "history_user_ip": "216.12.63.178" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32230/", "source": "list of norfolk city managers (1918 - present)", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418501/", "region": "https://zh.localwiki.org/api/v4/regions/1612/", "history_comment": null, "history_date": "2022-05-04T08:06:32.059", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/84668/", "history_user_ip": "216.12.63.178" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32229/", "source": "\u5ca9\u69fb\u57ce", "destination": "https://zh.localwiki.org/api/v4/pages_history/1196581/", "region": "https://zh.localwiki.org/api/v4/regions/843/", "history_comment": null, "history_date": "2022-04-28T22:31:43.849", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:1172:9b28:4a1d:801b" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32228/", "source": "\u5c0f\u8af8\u5927\u6a4b\u516c\u5712", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418151/", "region": "https://zh.localwiki.org/api/v4/regions/1002/", "history_comment": null, "history_date": "2022-04-28T20:39:06.314", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:1172:9b28:4a1d:801b" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32227/", "source": "\u5343\u66f2\u5ddd\u65c5\u60c5\u306e\u3046\u305f\u8a69\u7891(\u5c0f\u8af8\u5927\u6a4b\u8a18\u5ff5\u516c\u5712)", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418148/", "region": "https://zh.localwiki.org/api/v4/regions/1002/", "history_comment": null, "history_date": "2022-04-28T20:33:49.558", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/110560/", "history_user_ip": "240f:7a:d2b9:1:1172:9b28:4a1d:801b" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32226/", "source": "users/getfastcashus", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418010/", "region": "https://zh.localwiki.org/api/v4/regions/3/", "history_comment": "spam", "history_date": "2022-04-27T05:42:31.277", "history_type": 3, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32225/", "source": "users/getfastcashus", "destination": "https://zh.localwiki.org/api/v4/pages_history/1418010/", "region": "https://zh.localwiki.org/api/v4/regions/3/", "history_comment": null, "history_date": "2022-04-27T05:13:14.938", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/112509/", "history_user_ip": "2400:adc1:199:2c00:ec53:d704:a802:77a4" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32224/", "source": "imar works", "destination": "https://zh.localwiki.org/api/v4/pages_history/1417598/", "region": "https://zh.localwiki.org/api/v4/regions/23/", "history_comment": null, "history_date": "2022-04-20T15:50:55.973", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32223/", "source": "steve", "destination": "https://zh.localwiki.org/api/v4/pages_history/1417471/", "region": "https://zh.localwiki.org/api/v4/regions/2670/", "history_comment": "spam", "history_date": "2022-04-20T06:09:26.809", "history_type": 3, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32222/", "source": "todds marietta tree services", "destination": "https://zh.localwiki.org/api/v4/pages_history/1307416/", "region": "https://zh.localwiki.org/api/v4/regions/1770/", "history_comment": "spam", "history_date": "2022-04-20T06:03:01.207", "history_type": 3, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32221/", "source": "steve", "destination": "https://zh.localwiki.org/api/v4/pages_history/1417471/", "region": "https://zh.localwiki.org/api/v4/regions/2670/", "history_comment": null, "history_date": "2022-04-19T03:06:31.248", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/112324/", "history_user_ip": "147.124.213.32" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32220/", "source": "vermontville church of the nazarene", "destination": "https://zh.localwiki.org/api/v4/pages_history/1417423/", "region": "https://zh.localwiki.org/api/v4/regions/23/", "history_comment": null, "history_date": "2022-04-18T13:29:00.823", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32219/", "source": "church of the nazarene", "destination": "https://zh.localwiki.org/api/v4/pages_history/1237652/", "region": "https://zh.localwiki.org/api/v4/regions/23/", "history_comment": "Redirect created", "history_date": "2022-04-18T13:29:00.440", "history_type": 3, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32218/", "source": "pandemic flu 1918", "destination": "https://zh.localwiki.org/api/v4/pages_history/1417147/", "region": "https://zh.localwiki.org/api/v4/regions/23/", "history_comment": null, "history_date": "2022-04-14T10:40:27.301", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32217/", "source": "134 park avenue", "destination": "https://zh.localwiki.org/api/v4/pages_history/1416859/", "region": "https://zh.localwiki.org/api/v4/regions/23/", "history_comment": null, "history_date": "2022-04-12T09:39:08.309", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32216/", "source": "hocter cottage", "destination": "https://zh.localwiki.org/api/v4/pages_history/1416859/", "region": "https://zh.localwiki.org/api/v4/regions/23/", "history_comment": null, "history_date": "2022-04-12T09:39:08.290", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32215/", "source": "134 park avenue", "destination": "https://zh.localwiki.org/api/v4/pages_history/175418/", "region": "https://zh.localwiki.org/api/v4/regions/23/", "history_comment": "Redirect created", "history_date": "2022-04-12T09:39:08.163", "history_type": 3, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" } ] }