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/1387138/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://localwiki.org/api/v4/pages_history/1387138/", "name": "Arizona History Museum", "slug": "arizona history museum", "content": "<p class=\"MsoNormal\">\n\t<span class=\"image_frame image_frame_border\"><img src=\"https://img.grouponcdn.com/deal/vwZ31dBqFRdA2A1iNTQB/sb-440x267/v1/c870x524.jpg\" style=\"width: 300px; height: 181px;\"></span></p>\n<p class=\"MsoNormal\">\n\tThe Arizona History Museum, as the name suggests, is a place to learn about Arizona\u2019s complex history which stems from Mexican and Native American roots. Located right next to University of Arizona\u2019s campus on 949 E 2<sup>nd</sup> Street, Tucson, this establishment includes intriguing exhibits such as a hands-on recreation of 1870\u2019s Tucson and a simulation of a mining tunnel which visitors can walk through. The building itself is of historical significance, as it was designed by Swiss American, Tucson architect: Josias Joesler.\u00a0</p>\n<p class=\"MsoNormal\">\n\tThe museum has four permanent exhibits. The Transportation Gallery displays various past methods of travel in Tucson such as horse carriage, train, and automobile. The Treasures of the Arizona History Museum exhibit displays special objects such as Spanish Colonial silver, Empress Carlotta\u2019s jewelry, and famous firearms. The History Labs exhibit is a place for community historians to share stories and educate. Some speakers are \u201cTucson\u2019s Black History,\u201d by Zee and Bernard Wilson, \u201cMine Workers of Bisbee\u201d, and \u201cApache Indian History in the Southwest\u201d. The Mining Hall Exhibit displays a two-story tall stamp mill, a repair shop, and a miner\u2019s tent.\u00a0</p>\n<p class=\"MsoNormal\">\n\t<span class=\"image_frame image_frame_border\"><img src=\"https://www.visitarizona.com/imager/files_idss_com/C375/AccountFiles/vgif3mtnv8uurza5jszd_70e0b117ab6f15d516450a3495868467.jpg\" style=\"width: 300px; height: 225px;\"></span>\u00a0<span class=\"image_frame image_frame_border\"><img src=\"https://arizonahistoricalsociety.org/wp-content/uploads/2018/04/AHM-Mining-Hall-Stamp-Mill-graphic.jpg\" style=\"width: 200px; height: 300px;\"></span></p>\n<p class=\"MsoNormal\">\n\t\u00a0</p>\n<p class=\"MsoNormal\">\n\tThe museum also hosts special lectures and events. Due to the ongoing pandemic these events are currently virtual. However, visitors may still attend the exhibits while wearing a mask and physical distancing. (As of February 27<sup>th</sup>, 2021.) The Arizona History Museum is one of the four museums that the Arizona Historical Society runs. The Arizona Historical Society\u2019s mission is to connect people through the power of Arizona\u2019s history.\u00a0</p>\n<p class=\"MsoNormal\">\n\t<a href=\"https://arizonahistoricalsociety.org/museum/arizona-history-museum/#programs\">https://arizonahistoricalsociety.org/museum/arizona-history-museum/#programs</a></p>\n<p class=\"MsoNormal\">\n\t<a href=\"https://arizonahistoricalsociety.org/ahs-history/\">https://arizonahistoricalsociety.org/ahs-history/</a></p>\n", "region": "https://localwiki.org/api/v4/regions/196/", "history_comment": null, "history_date": "2021-02-28T22:08:14.984", "history_type": 1, "history_user": "https://localwiki.org/api/v4/users/104818/", "history_user_ip": "198.217.31.2" }