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/1421729/
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/1421729/", "name": "145 Athol", "slug": "145 athol", "content": "<p>\n\t<strong>145 Athol</strong> is a Victorian style home in what was the <a href=\"Peralta%20Heights\">Peralta Heights</a> development, dating back to c.1892. The first known residents were <a href=\"Humphrey%20family\">Thomas Humphrey and his family</a>. Both children, Orall and Ola, were actors of note. Like many locations in Oakland, the address was renumbered c.1912, but it had also been renumbered c.1905.</p>\n<p>\n\tIt appears as lot #7A on the 1878 Thompson and West map showing Peralta Heights. The 1892-93 directory shows the Humphrey family living at 126 Athol Avenue, which also appears on the 1903 Sanborn. By 1905, it had been renumbered to 31 Athol. Finally, the 1912 Sanborn shows the older 31 and the new 145 Athol address.</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/00727_02_1903-9-0206%20-%20145%20athol.jpg\" style=\"width: 292px; height: 300px;\"><span style=\"width: 292px;\" class=\"image_caption\">1903 Sanborn excerpt</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/00727_04_1912-9-0417%20-%20145%20athol.jpg\" style=\"width: 326px; height: 300px;\"><span style=\"width: 326px;\" class=\"image_caption\">1912 Sanborn excerpt</span></span></p>\n<p>\n\tIt's unknown when the Humphreys moved out and sold the house, but a 1906 classified says \"FOR SALE Entire household effects of the Humphrey home, 31 Athol ave., East Oakland.\" <sup>1</sup></p>\n<p>\n\tOther people who lived there include R.A. Leet (c.1915-1917); Ernest William Waage (c.1919); building inspector Axel Elfstrum, his wife Adele, and their twin children, Barbara Jean and William Dean (c.1935-1969); Clifford and Margaret Nevins (c.1949).</p>\n<h2>\n\tLinks and References</h2>\n<ol>\n\t<li>\n\t\t<a href=\"https://www.newspapers.com/clip/103477846/classified-entire-household-effects/\">classified</a> <em>Oakland Tribune</em> September 30, 1906</li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/340/", "history_comment": "initial version", "history_date": "2022-06-10T16:55:45.720", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/3242/", "history_user_ip": "2600:1702:2770:bc20:747c:bf81:82e7:180e" }