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/1381093/
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/1381093/", "name": "Roosevelt Hotel", "slug": "roosevelt hotel", "content": "<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/Oakland_Tribune_Sun__May_12__1929%20-%20roosevelt%20hotel.jpg\" style=\"width: 350px; height: 293px;\"><span style=\"width: 350px;\" class=\"image_caption\">1929 <sup>1</sup></span></span></p>\n<p>\n\tThe <strong>Roosevelt Hotel</strong> was a hotel at 29th and San Pablo, constructed in 1929.</p>\n<p>\n\tIt was built and owned by Edward Sommarstrom, and run by W.A. Leonard and Thomas M. Fitzpatrick.</p>\n<p>\n\tBy 1953, the name was changed to the\u00a0<strong>Ebony Plaza Hotel</strong>. <sup>2,3,6</sup>\u00a0The Ebony Plaza is listed in the 1955 and 1956 <a href=\"https://en.wikipedia.org/wiki/The_Negro_Motorist_Green_Book\">Negro Motorist Green Book</a>.</p>\n<p>\n\tBlues musician Bobby \"Hurricane\" Spencer mentions it in an interview:</p>\n<p class=\"indent1\">\n\t<em>\"I remember when I lived in Oakland at the Ebony Plaza hotel \u2013 a cheap hotel with roaches and prostitutes. That was the flavor of the blues. This is where the music came from and though I don\u2019t want to return to the Ebony Hotel, playing in a joint helps me remember those days.\"</em> <sup>4</sup></p>\n<p>\n\tThere was a four-alarm fire at the then abandoned hotel in 1997. <sup>5</sup> The building was demolished in [ ? ].</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/00727_01_1951-9-0021%20-%20roosevelt.jpg\" style=\"width: 450px; height: 405px;\"><span style=\"width: 450px;\" class=\"image_caption\">1951 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/64767980/roosevelt-hotel-on-san-pablo-now-open/\">Roosevelt Hotel Now Open Here</a> <em>Oakland Tribune</em> May 12, 1929</li>\n\t<li>\n\t\t<a href=\"https://www.newspapers.com/clip/64773528/ebony-plaza-hotel-2908-san-pablo/\">3 Held After 2 Shots Fired At Police</a> <em>Oakland Tribune</em> February 15, 1973</li>\n\t<li>\n\t\t<a href=\"https://www.newspapers.com/clip/64774490/ebony-plaza-hotel-29th-and-san-pablo/\">Business and Industry in Eastbay</a>\u00a0<em>Oakland Tribune</em> January 19, 1953</li>\n\t<li>\n\t\t<a href=\"http://blues.gr/profiles/blogs/interview-with-bluesman-bobby-hurricane-spencer-a-living-legend\">Bobby \u201cHurricane\u201d Spencer: The Bluesman</a> blues.gr</li>\n\t<li>\n\t\t<a href=\"https://www.sfgate.com/bayarea/article/BAY-DATELINES-3098043.php\">Abandoned Hotel Hit By Four-Alarm Fire</a> <em>SFGate.com</em> September 28, 1997</li>\n\t<li>\n\t\t<a href=\"https://books.google.com/books?id=jboDAAAAMBAJ&amp;pg=PA57&amp;lpg=PA57&amp;dq=%22Ebony+Plaza%22+hotel+oakland&amp;source=bl&amp;ots=StF19aweXx&amp;sig=ACfU3U3UzUlTWsM6D-DPXYelYkKi-kok-w&amp;hl=en&amp;sa=X&amp;ved=2ahUKEwiwv4TPpMHtAhVQLK0KHePWCUU4ChDoATABegQIARAC#v=onepage&amp;q=%22Ebony%20Plaza%22%20hotel%20oakland&amp;f=false\">Open 200-Room Hotel In Oakland</a> <em>Jet</em> February 5, 1953</li>\n</ol>\n", "region": "https://ja.localwiki.org/api/v4/regions/340/", "history_comment": null, "history_date": "2020-12-09T09:55:18.709", "history_type": 1, "history_user": "https://ja.localwiki.org/api/v4/users/3242/", "history_user_ip": "2600:1702:2770:bc20:a491:564e:e1b5:66ad" }