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/1400408/
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/1400408/", "name": "O.D. Hamlin, Jr", "slug": "o.d. hamlin, jr", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/Gertrude%20Ollie.jpg\" style=\"width: 300px; height: 325px;\"><span style=\"width: 300px;\" class=\"image_caption\">Oliver D. Hamlin, Jr.</span></span></p>\n<p>\n\t<strong>Oliver Deveta \"O. D.\" Hamlin, Jr</strong>. (November 30, 1892 - December 28, 1973) was an attorney, Deputy District Attorney,\u00a0 Superior Court Judge, and Federal Judge.</p>\n<p>\n\tBorn in Oakland to <strong>Dr. O. D. Hamlin</strong> and <strong>Elizabeth C. MacMahon, Hamlin, Jr</strong>. attended <a href=\"Oakland%20High%20School\">Oakland High School</a>, then went on to earn his B.L. degree at the <a href=\"University%20of%20California\">University of California</a> in 1914.</p>\n<p>\n\tHamlin, Jr. was the Alameda County Deputy District Attorney from 1915 to 1920, His successor as Deputy DA was <a href=\"Earl%20Warren\">Earl Warren</a>, a lifelong friend. He then went into private practice with <a href=\"Donahue%2C%20Hynes%20and%20Hamlin\">Donahue, Hynes and Hamlin</a> from 1920 to 1938 in Oakland.\u00a0 From 1938 to 1947 he was with the firm of Donahue, Richards and Hamlin.</p>\n<p>\n\tPresident Eisenhower appointed Hamlin, Jr. United States District Court judge of the Northern District of California in 1953. In 1958 Eisenhower elevated Hamlin to a seat on the <a href=\"http://en.wikipedia.org/wiki/United_States_Court_of_Appeals_for_the_Ninth_Circuit\">United States Court of Appeals for the Ninth Circuit</a></p>\n<p>\n\tHis father resided at 291 Lenox Avenue, Oakland where Ollie Jr. was raised. Ollie Hamlin Jr. built a house in Lafayette in 1941. He sold the house and moved to Piedmont in 1972. His first wife died and he remarried to Gertrude (Cole) Jackson in 1955.</p>\n<h2>\n\tLinks and References</h2>\n<ul>\n\t<li>\n\t\t<a href=\"https://en.wikipedia.org/wiki/Oliver_Deveta_Hamlin_Jr.\">Oliver Deveta Hamlin</a> on Wikipedia</li>\n</ul>\n", "region": "https://ja.localwiki.org/api/v4/regions/340/", "history_comment": "Renamed from \"O. D. Hamlin, Jr.\"", "history_date": "2021-08-19T13:53:02.592", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/3242/", "history_user_ip": "2600:1702:2770:bc20:58eb:50b0:4c3:1419" }