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/1422931/
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/1422931/", "name": "Delger Mansion", "slug": "delger mansion", "content": "<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1BB.jpg\" style=\"width: 350px; height: 263px;\"><span style=\"width: 350px;\" class=\"image_caption\">OMCA Collections <sup>1</sup></span></span></p>\n<p>\n\tThe <strong>Delger Mansion</strong> was the stately home of <a href=\"Frederick%20Delger\">Frederick Delger</a> and his family on 19th Street (then Frederick St.). It was built in 1873, <sup>2</sup> and demolished c.1923. <sup><span>3</span></sup></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/00727_01_1912-9-0064.jpg\" style=\"width: 600px; height: 176px;\"><span style=\"width: 600px;\" class=\"image_caption\">1912 Sanborn excerpt</span></span></p>\n<p>\n\tThe house itself was large but not ornate, but the grounds included greenhouses, aviaries, gardens, and a teahouse. The OMCA Collections <sup>1</sup> contain many photos of the house and grounds, and even one of the servants.</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1A.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">19th St. side</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1UU.jpg\" style=\"width: 300px; height: 225px;\"></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1iii.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\"><a href=\"Cathedral%20of%20Saint%20Francis%20de%20Sales\">St. Francis de Sales</a> in background</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1ii.jpg\" style=\"width: 300px; height: 225px;\"></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1Z.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">looking southwest</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1Y.jpg\" style=\"width: 300px; height: 225px;\"></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1CCC.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">carriage house</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1YY.jpg\" style=\"width: 300px; height: 225px;\"></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1C.jpg\" style=\"width: 300px; height: 225px;\"></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1L.jpg\" style=\"width: 300px; height: 225px;\"></span><span class=\"image_frame image_frame_border\"><img src=\"_files/H99.28.1JJJ.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">servants</span></span></p>\n<h2>\n\tLinks and References</h2>\n<ol>\n\t<li>\n\t\t<a href=\"http://collections.museumca.org/?q=filtered&amp;keys=delger\">OMCA Collections</a> Gift of Frank Moller</li>\n\t<li>\n\t\t<a href=\"https://www.newspapers.com/clip/104659478/delger-mansion-and-other-buildings/\">Old Delger Mansion is Presented to Oakland</a> <em>Oakland Tribune</em> July 26, 1911</li>\n\t<li>\n\t\t<a href=\"https://www.newspapers.com/clip/104611186/edward-f-delger-dies-estate-at-19th/\">E.F. Delger Dies at S.F. Home</a> <em>Oakland Tribune</em> December 11, 1923</li>\n</ol>\n", "region": "https://zh.localwiki.org/api/v4/regions/340/", "history_comment": null, "history_date": "2022-06-29T17:57:43.057", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/3242/", "history_user_ip": "2600:1702:2770:bc20:9fb:54c2:56c0:d713" }