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/1399266/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://ja.localwiki.org/api/v4/pages_history/1399266/", "name": "Great Western Power Station", "slug": "great western power station", "content": "<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/Great%20Western%20Power%20Station.jpg\" style=\"width: 500px; height: 378px;\"><span style=\"width: 500px;\" class=\"image_caption\">Great Western Power Station, Oakland (circa 1930-1939)<sup>\u00a02,3</sup></span></span></p>\n<p>\n\tThe <strong>Great Western Power Station</strong> (aka the <strong>Park Boulevard Substation</strong>),\u00a0<span style=\"\">located at 3729 Park Boulevard, Oakland, was constructed by\u00a0</span>the <a href=\"Great%20Western%20Power%20Company\">Great Western Power Company</a>\u00a0in 1908, and expanded in 1909.<sup> 1</sup>\u00a0The building is located between what are now Grosvenor Place and Park Blvd, originally identified as Matthews Street and Fourth Avenue. <a href=\"Pacific%20Gas%20and%20Electric%20Company\">Pacific Gas and Electric Company</a>, which purchased Great Western in 1930, currently owns and operates the station.</p>\n<p>\n\tDespite being a commercial building owned by PG&amp;E, the property is within the boundaries of the <a href=\"Lakeshore%20Homes%20Association\">Lakeshore Homes Association</a>, making it the only non-residential property within the association. PG&amp;E is required to pay dues to the Association just like any other property owner. As of 2015, the dues were\u00a0$170 per property.</p>\n<h2>\n\tLinks and References</h2>\n<ol>\n\t<li>\n\t\t<a href=\"https://www.newspapers.com/clip/82047517/electric-power-sub-station/\">Electric Power Sub - Station</a>\u00a0<em>Oakland Tribune</em> May 2, 1909</li>\n\t<li>\n\t\tImage(s) used by permission of the <a href=\"http://content.cdlib.org/ark:/13030/tf0x0nb2z4/?query=Great%20Western%20Power&amp;brand=calisphere\">UC Berkeley, Bancroft Library</a></li>\n\t<li>\n\t\t<a href=\"http://oac.cdlib.org/findaid/ark:/13030/tf1g5006hq/?&amp;brand=calisphere\">Views of Oakland, California</a>, Online Archive of California</li>\n</ol>\n<ul>\n\t<li>\n\t\t<a href=\"http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=06537284\">Membership - Applications, Elections, Transfers, Etc.</a>\u00a0 (1926)</li>\n</ul>\n<hr>\n<p>\n\t\u00a0</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/340/", "history_comment": "Much older than I thought", "history_date": "2021-07-23T15:42:53.542", "history_type": 1, "history_user": "https://ja.localwiki.org/api/v4/users/9357/", "history_user_ip": "" }