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.


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/1408912/
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/1408912/", "name": "Standard Beverages", "slug": "standard beverages", "content": "<p>\n\t<strong>Standard Beverages</strong> was a Bay Area beverage company beginning in 1930. They were local bottlers for Nehi beverages, Par-T-Pak beverages, and later Royal Crown Cola, with a plant and offices at 1050 - 39th St. on the <a href=\"Emeryville\">Emeryville</a> border.</p>\n<p>\n\tThe company was started in 1930 by John E. Sousa and Gerald H. Mason. <sup>1</sup> In 1937, they constructed a new, larger plant on the location. <sup>2</sup></p>\n<p>\n\tThere are a number of \"ghost signs\" for Par-T-Pak around the Bay Area, <sup>3</sup> including one on the <a href=\"De%20Domenico%20Building\">Plaza Building</a> on <a href=\"Frank%20Ogawa%20Plaza\">Frank Ogawa Plaza</a>. That sign is also visible in a 1943 photo looking down San Pablo Avenue showing the <a href=\"Esquire%20Theatre\">Esquire Theatre</a>.</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/Oakland_Tribune_Mon__Oct_12__1936%20-%20par-t-pak.jpg\" style=\"width: 190px; height: 300px;\"><span style=\"width: 190px;\" class=\"image_caption\">1936 <sup>1</sup></span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/standard%20beverages%2000727_03_1950-9-0351.jpg\" style=\"width: 382px; height: 300px;\"><span style=\"width: 382px;\" class=\"image_caption\">1950 Sanborn excerpt</span></span></p>\n<h2>\n\tLinks and References</h2>\n<ol>\n\t<li>\n\t\t<a href=\"https://www.newspapers.com/clip/92605986/par-t-pak-a-nehi-product/\">Oakland Bottling Firm Celebrates Six Years of Progress</a> <em>Oakland Tribune</em> October 12, 1936</li>\n\t<li>\n\t\t<a href=\"https://www.newspapers.com/clip/78509237/standard-beverages-new-bottling/\">New Bottling Plant Is Installed for Standard Beverages</a> <em>Oakland Tribune</em> August 20, 1937</li>\n\t<li>\n\t\t<a href=\"https://medium.com/@KaseyCSmith/par-t-pak-ghost-sign-6946b09e0dfb\">Par-T-Pak Ghost Sign</a> medium.com November 15, 2015</li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/340/", "history_comment": null, "history_date": "2022-01-15T19:17:03.251", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/3242/", "history_user_ip": "2600:1702:2770:bc20:c8ec:6edf:d1e1:3cd5" }