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/1402031/
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/1402031/", "name": "East 10th and 5th Avenue Mural", "slug": "east 10th and 5th avenue mural", "content": "<p>\n\t<a href=\"Murals\">Murals</a> on a <a href=\"Fence%20Murals\">fence</a>\u00a0and the front of a building at E 10th St &amp; 5th Ave. ( *840 5th Ave) near <a href=\"Laney%20College\">Laney College</a>). Artists include\u00a0<span style=\"\">Ham, Dies4, <a href=\"Cameron%20Thompson\">Cameron Thompson</a>, Caratoes, Ex-Vandals, <a href=\"Nite%20Owl\">Nite Owl</a>, <a href=\"Irot\">Irot</a>, <a href=\"Chris%20Granillo\">Chris Granillo</a>, Aura, Buge CBS, These murals have been replaced.</span></p>\n<p>\n\tIn-progress as of Sept. 24, 2014- photos.</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/DSC02946.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 299.777777671814px;\" class=\"image_caption\">Cameron Tomphson. photo by mk30</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/DSC02945.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 299.777777671814px;\" class=\"image_caption\">Caratoes photo by mk30</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/DSC02952.JPG\" style=\"width: 225px; height: 300px;\"><span style=\"width: 224.777777671814px;\" class=\"image_caption\">nite owl. photo by mk30</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/DSC02951.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 299.777777671814px;\" class=\"image_caption\">Dies 4 and Ham. photo by mk30</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/DSC02949.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 299.777777671814px;\" class=\"image_caption\">?? photo by mk30</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/DSC02947.JPG\" style=\"width: 225px; height: 300px;\"><span style=\"width: 224.777777671814px;\" class=\"image_caption\">ham photo by mk30</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/DSC02944.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 299.777777671814px;\" class=\"image_caption\">Night Owl. photo by mk30</span></span></p>\n<p>\n\tUpdated photos: December 6, 2014, including the fence on the East 10th side.</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/stay%20bacon.JPG\" style=\"width: 295px; height: 300px;\"><span style=\"width: 294px;\" class=\"image_caption\">Ham. photo by greenkozi</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/ham%20horns.JPG\" style=\"width: 300px; height: 299px;\"><span style=\"width: 300px;\" class=\"image_caption\">ham? photo by greenkozi</span></span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/ex%20vandals%20char.JPG\" style=\"width: 197px; height: 300px;\"><span style=\"width: 197px;\" class=\"image_caption\">??? photo by greenkozi</span></span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/aware2.JPG\" style=\"width: 300px; height: 186px;\"><span style=\"width: 300px;\" class=\"image_caption\">photo by greenkozi</span></span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/sneaky%20ham.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">photo by greenkozi</span></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/ham%20pano.JPG\" style=\"width: 300px; height: 126px;\"><span style=\"width: 300px;\" class=\"image_caption\">the 8th Ave side. photo by greenkozi</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/dies4.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">Dies4. photo by greenkozi</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/owl%20dudes.JPG\" style=\"width: 300px; height: 139px;\"><span style=\"width: 300px;\" class=\"image_caption\">nite owl. photo by greenkozi</span></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/east%2010th%20doty.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">Hummingbees by Chris Granillo on East 10th. photo by greenkozi</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/giant%20nite%20owl.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">giant nite owl. photo by greenkozi</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/aura.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">Aura. photo by greenkozi</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/granillo%20et%20al.JPG\" style=\"width: 300px; height: 85px;\"><span style=\"width: 300px;\" class=\"image_caption\">the wall. photo by greenkozi</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/buge%20cbs.JPG\" style=\"width: 300px; height: 142px;\"><span style=\"width: 300px;\" class=\"image_caption\">?? photo by greenkozi</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/buge%202.JPG\" style=\"width: 300px; height: 128px;\"><span style=\"width: 300px;\" class=\"image_caption\">Buge CBS. photo by greenkozi</span></span></p>\n", "region": "https://ja.localwiki.org/api/v4/regions/340/", "history_comment": "gone", "history_date": "2021-09-18T13:28:10.333", "history_type": 1, "history_user": "https://ja.localwiki.org/api/v4/users/10864/", "history_user_ip": "2600:1700:9580:dbe0:251b:5fc:46a8:4dfd" }