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": 26932, "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/32972/", "source": "wiley manuel courthouse", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444876/", "region": "https://zh.localwiki.org/api/v4/regions/340/", "history_comment": null, "history_date": "2022-11-07T10:44:43.362", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/9357/", "history_user_ip": "74.206.99.126" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32971/", "source": "users/olliemail", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444874/", "region": "https://zh.localwiki.org/api/v4/regions/3/", "history_comment": null, "history_date": "2022-11-07T09:57:02.962", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117803/", "history_user_ip": "208.90.13.215" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32970/", "source": "tom's on cortland", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444784/", "region": "https://zh.localwiki.org/api/v4/regions/2/", "history_comment": null, "history_date": "2022-11-06T19:37:59.430", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/105368/", "history_user_ip": "2604:5500:c228:3e00:6df0:134a:7287:6235" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32969/", "source": "mrs. a.s. mcbean", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444611/", "region": "https://zh.localwiki.org/api/v4/regions/23/", "history_comment": null, "history_date": "2022-11-05T08:37:24.765", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/1261/", "history_user_ip": "2603:7081:3c3b:e010:a1b2:3f7b:6bfa:58a1" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32968/", "source": "twin peaks (bar)", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444581/", "region": "https://zh.localwiki.org/api/v4/regions/2/", "history_comment": null, "history_date": "2022-11-04T22:59:09.495", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/105368/", "history_user_ip": "136.24.124.90" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32967/", "source": "users/atsawnings", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444541/", "region": "https://zh.localwiki.org/api/v4/regions/3/", "history_comment": "spam", "history_date": "2022-11-04T05:42:33.414", "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/32966/", "source": "users/atsawnings", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444541/", "region": "https://zh.localwiki.org/api/v4/regions/3/", "history_comment": null, "history_date": "2022-11-04T04:00:42.393", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117772/", "history_user_ip": "49.149.241.159" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32965/", "source": "lost dutchmans gold mine", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444508/", "region": "https://zh.localwiki.org/api/v4/regions/2705/", "history_comment": null, "history_date": "2022-11-03T16:37:57.973", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117764/", "history_user_ip": "108.169.196.236" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32964/", "source": "1251turk sf,ca", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444363/", "region": "https://zh.localwiki.org/api/v4/regions/2/", "history_comment": null, "history_date": "2022-11-02T22:18:22.545", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/105368/", "history_user_ip": "136.24.124.90" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32963/", "source": "red lotus asian kitchen", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444350/", "region": "https://zh.localwiki.org/api/v4/regions/358/", "history_comment": null, "history_date": "2022-11-02T21:48:59.900", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117687/", "history_user_ip": "2600:1700:3901:6510:3140:1c73:a19a:86eb" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32962/", "source": "chelsea manning plaza", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444323/", "region": "https://zh.localwiki.org/api/v4/regions/2/", "history_comment": null, "history_date": "2022-11-02T18:05:55.528", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/105368/", "history_user_ip": "136.24.124.90" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32961/", "source": "justin herman plaza", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444323/", "region": "https://zh.localwiki.org/api/v4/regions/2/", "history_comment": null, "history_date": "2022-11-02T18:05:55.482", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/105368/", "history_user_ip": "136.24.124.90" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32960/", "source": "chelsea manning plaza", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444322/", "region": "https://zh.localwiki.org/api/v4/regions/2/", "history_comment": "Redirect created", "history_date": "2022-11-02T18:05:54.381", "history_type": 3, "history_user": "https://zh.localwiki.org/api/v4/users/105368/", "history_user_ip": "136.24.124.90" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32959/", "source": "kershaw, cook & talley", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444300/", "region": "https://zh.localwiki.org/api/v4/regions/74/", "history_comment": null, "history_date": "2022-11-02T14:37:08.632", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117751/", "history_user_ip": "12.208.243.202" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32958/", "source": "wuag", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444212/", "region": "https://zh.localwiki.org/api/v4/regions/783/", "history_comment": "Page created", "history_date": "2022-11-01T21:15:56.802", "history_type": 2, "history_user": "https://zh.localwiki.org/api/v4/users/117741/", "history_user_ip": "216.237.211.211" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32957/", "source": "wuag", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444212/", "region": "https://zh.localwiki.org/api/v4/regions/783/", "history_comment": null, "history_date": "2022-11-01T20:55:36.578", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117741/", "history_user_ip": "216.237.211.211" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32956/", "source": "users/jsmit173", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444151/", "region": "https://zh.localwiki.org/api/v4/regions/3/", "history_comment": "", "history_date": "2022-11-01T10:06:41.131", "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/32955/", "source": "users/jsmit173", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444147/", "region": "https://zh.localwiki.org/api/v4/regions/3/", "history_comment": null, "history_date": "2022-11-01T09:55:27.851", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117740/", "history_user_ip": "216.125.243.231" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32954/", "source": "mental health of students in normal il", "destination": "https://zh.localwiki.org/api/v4/pages_history/1444141/", "region": "https://zh.localwiki.org/api/v4/regions/2716/", "history_comment": null, "history_date": "2022-11-01T09:42:02.782", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117635/", "history_user_ip": "2607:fb90:a124:408a:19c7:9df9:61d:ce86" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32953/", "source": "homelessness in mclean county", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443577/", "region": "https://zh.localwiki.org/api/v4/regions/40/", "history_comment": "Page created", "history_date": "2022-11-01T09:25:30.806", "history_type": 2, "history_user": "https://zh.localwiki.org/api/v4/users/117636/", "history_user_ip": "216.125.243.231" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32952/", "source": "lubasch johann gottfried 5 october 1856", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443905/", "region": "https://zh.localwiki.org/api/v4/regions/27/", "history_comment": null, "history_date": "2022-10-31T00:28:10.143", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/101313/", "history_user_ip": "124.148.32.74" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32951/", "source": "devil's tramping ground", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443830/", "region": "https://zh.localwiki.org/api/v4/regions/2718/", "history_comment": null, "history_date": "2022-10-30T15:19:51.714", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117692/", "history_user_ip": "2603:6080:5801:df88:1507:d0f4:fdd2:a653" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32950/", "source": "detroit", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443723/", "region": "https://zh.localwiki.org/api/v4/regions/27/", "history_comment": "spam", "history_date": "2022-10-30T06:22:54.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/32949/", "source": "detroit", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443721/", "region": "https://zh.localwiki.org/api/v4/regions/27/", "history_comment": null, "history_date": "2022-10-29T07:58:07.936", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117677/", "history_user_ip": "195.174.65.33" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32948/", "source": "j. paul leonard library", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443677/", "region": "https://zh.localwiki.org/api/v4/regions/2156/", "history_comment": null, "history_date": "2022-10-28T04:46:50.997", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/117664/", "history_user_ip": "76.254.24.3" }, { "url": "https://zh.localwiki.org/api/v4/redirects_history/32947/", "source": "shane madej's bridge and ryan bergara's bridge (old alton bridge)", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443629/", "region": "https://zh.localwiki.org/api/v4/regions/128/", "history_comment": null, "history_date": "2022-10-27T19:36:21.997", "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/32946/", "source": "shane madej's bridge and ryan bergara's bridge (the ghoul boys)", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443629/", "region": "https://zh.localwiki.org/api/v4/regions/128/", "history_comment": null, "history_date": "2022-10-27T19:36:21.984", "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/32945/", "source": "shane madej's bridge", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443629/", "region": "https://zh.localwiki.org/api/v4/regions/128/", "history_comment": null, "history_date": "2022-10-27T19:36:21.956", "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/32944/", "source": "shane's bridge", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443629/", "region": "https://zh.localwiki.org/api/v4/regions/128/", "history_comment": null, "history_date": "2022-10-27T19:36:21.935", "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/32943/", "source": "goatman's bridge", "destination": "https://zh.localwiki.org/api/v4/pages_history/1443629/", "region": "https://zh.localwiki.org/api/v4/regions/128/", "history_comment": null, "history_date": "2022-10-27T19:36:21.917", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/382/", "history_user_ip": "142.105.251.222" } ] }