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/1371002/
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/1371002/", "name": "Remember They See Everything Mural", "slug": "remember they see everything mural", "content": "<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/DSC_9093.JPG\" style=\"width: 400px; height: 265px;\"><span style=\"width: 400px;\" class=\"image_caption\"><em>CC SA-BY <a href=\"Our%20Oakland\">Our Oakland</a></em></span></span></p>\n<p>\n\t<strong>Update:</strong> As of September, 2016, the mural has been repainted, and is now the <a href=\"We%20Got%20Your%20Back%20mural\">\"We Got Your Back\" mural</a>.</p>\n<p>\n\t<strong>Update:\u00a0</strong>As of June 16, 2015 the mural has been repainted and now has the \"Who Loves you Baby?\" Mural. The top of \"Do you remember?\" is still partly visible.</p>\n<p>\n\t<strong>Update</strong>: As of Jan 1, 2015, there is something on the bottom of this mural that appears to be by the original artist.</p>\n<p>\n\t<strong>Update</strong>: As of August 9, 2014, this mural has been bombed over.</p>\n<p>\n\tLocated at 21st &amp; <a href=\"Telegraph%20Avenue\">Telegraph</a> in <a href=\"Uptown\">Uptown</a>. It reads \"Do you remember? They see everything.\" The mural is by Fulani Carter. Painted in 2013. The mural is located on a tiny building next to the <a href=\"Old%20Downtown%20YMCA%20Building\">old YMCA building</a>. This tiny building is covered in <a href=\"murals\">murals</a> that get changed over fairly often.</p>\n<p>\n\tThe other side of the building has the <a href=\"Ray%20Charles%20Mural\">Ray Charles</a> mural.</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/who%20loves%20you%20baby.JPG\" style=\"width: 300px; height: 259px;\"><span style=\"width: 300px;\" class=\"image_caption\">photo by greenkozi, 6/16/15</span></span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/14637622288_50b207758a_h.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300.39999997615814px;\" class=\"image_caption\">photo\u00a0CC BY-NC-ND 2.0 by\u00a0<a style=\"width: auto;\" href=\"https://www.flickr.com/photos/[email protected]/\" class=\"owner-name truncate\">MajorMalfunction</a></span></span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/9444118445_fb27913127_z.jpg\" style=\"width: 500px; height: 377px;\"><span style=\"width: 500px;\" class=\"image_caption\">photo\u00a0CC BY 2.0 by\u00a0<a href=\"http://www.flickr.com/photos/sorsa/\">don sorsa</a></span></span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/remember.JPG\" style=\"width: 265px; height: 300px;\"><span style=\"width: 264px;\" class=\"image_caption\">Jan 1, 2015. photo by greenkozi</span></span></p>\n", "region": "https://es.localwiki.org/api/v4/regions/340/", "history_comment": "artist info", "history_date": "2020-08-03T10:49:54.214", "history_type": 1, "history_user": "https://es.localwiki.org/api/v4/users/10864/", "history_user_ip": "75.3.245.85" }