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/1371029/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://es.localwiki.org/api/v4/pages_history/1371029/", "name": "St. Armand School", "slug": "st. armand school", "content": "<p>\n\t<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/St.%20Armand%20School.jpg\" style=\"width: 500px; height: 276px;\"><span style=\"width: 500px;\" class=\"image_caption\">The former St. Afmand School house, located on.the road to the backside of Whiteface<br>\n\t<em>Adirondack Daily Enterprise</em>, January 7, 2000</span></span><br>\n\t<strong>Address:</strong> <a href=\"Bloomingdale%20Road\">Bloomingdale Road</a></p>\n<p>\n\t<strong>Old Address:</strong> Bloomingdale Road</p>\n<p>\n\t<strong>Other names: St. Armand Common School District No. 3</strong>; a residence called \"McKenzie Outlook\"</p>\n<p>\n\t<strong>Year built:</strong></p>\n<p>\n\t<strong>Other information:</strong> Miss <a href=\"Emma%20Toof\">Emma Toof</a>, who was a graduate of Oswego Normal School, taught in the school between Saranac Lake and <a href=\"Bloomingdale\">Bloomingdale</a> for more than 25 years.</p>\n<p class=\"indent1\">\n\t<strong><a href=\"Other%20historic%20properties\">Other historic properties</a></strong></p>\n<h2>\n\tComments</h2>\n", "region": "https://es.localwiki.org/api/v4/regions/23/", "history_comment": "This is not the St. Armand Commomn School No. 3. It's the Ike Arnold School, shown on that page.", "history_date": "2020-08-03T13:48:14.470", "history_type": 1, "history_user": "https://es.localwiki.org/api/v4/users/1261/", "history_user_ip": "2604:6000:1414:13c:7911:4471:dd6b:7422" }