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/1422482/
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/1422482/", "name": "Willie Ellis", "slug": "willie ellis", "content": "<p>\n\t<strong>Willie Ellis</strong> (aka Robert Bailey, 12/24/1953 - 06/22/2022) was a much-loved local salesman who would set up his wares on a daily basis at the <a href=\"https://www.lakemerritt.org/\">Lake Merritt</a>\u00a0pergola. People who regularly walk that section of the lake knew him, if not by name, by reputation.\u00a0<span style=\"\">Willie was often referred to as the Mayor or Greeter of Lake Merritt - a title, well-suited for a gentleman who loved his life at Lake Merritt and had friends from every walk of life.\u00a0</span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/IMG_1036.jpg\" style=\"width: 227px; height: 300px;\"></span>\u00a0\u00a0<span class=\"image_frame image_frame_border\"><img src=\"_files/Image%20from%20iOS%20%2824%29.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">Willie at \"his spot\"</span></span></p>\n<p>\n\tIn 2016, Willie disappeared and it was feared he had died. A small shrine was erected where he normally worked. <sup>1</sup> It turned out he was severely attacked and robbed in July, and has been recovering at Fairmont Hospital in San Leandro. <sup>2</sup></p>\n<p>\n\tSadly, on June 22, 2022, Mr. Willie passed away from medical complications related to long-term brain damage that resulted from his 2016 attack.\u00a0<span>If you\u2019d like to help honor and celebrate Mr. Willie, please consider donating to <a href=\"https://www.gofundme.com/f/willie-ellis-memorial-fund\">the GoFundMe set up by Willie\u2019s friends</a> to throw him a proper farewell event by the lake where we'll scatter his ashes (date TBD) and to fund a lasting memorial to Willie in \u201chis spot\u201d by the pergola \u2013 hopefully a granite bench, but at the very least, an impressive plaque. The goal is to ensure he can forever remain where we all know he belongs: right by his beloved Lake Merritt.</span></p>\n<h3>\n\tLinks and References</h3>\n<ol>\n\t<li>\n\t\t<a href=\"http://www.eastbaytimes.com/breaking-news/ci_30321484/mystery-surrounds-lake-merritt-memorial-willie\">Absence of beloved Lake Merritt mystery man prompts unusual outpouring</a> <em>East Bay Times</em> September 2, 2016</li>\n\t<li>\n\t\t<a href=\"http://www.eastbaytimes.com/breaking-news/ci_30334845/mystery-solved-lake-merritt-salesman-not-dead-after\">Mystery solved, Lake Merritt salesman not dead after all, just recovering from brutal assault</a> <em>East Bay Times</em> September 6, 2016</li>\n</ol>\n<ul>\n\t<li>\n\t\t<p>\n\t\t\t<a href=\"http://www.eastbaytimes.com/2016/09/28/lake-merritt-street-salesman-returns-from-the-dead/\">Lake Merritt street salesman returns from the \u201cdead\u201d</a> <em>East Bay Times</em> September 28, 2016</p>\n\t</li>\n</ul>\n", "region": "https://zh.localwiki.org/api/v4/regions/340/", "history_comment": "Willie has passed, adding in info on how to honor his life and legacy", "history_date": "2022-06-23T14:11:53.703", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/113590/", "history_user_ip": "144.121.147.66" }