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/1403336/
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/1403336/", "name": "ILWU mosaics", "slug": "ilwu mosaics", "content": "<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/IMG_3094.JPG\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\"><em>CC SA-BY <a href=\"Our%20Oakland\">Our Oakland</a></em></span></span><br>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/IMG_3095.JPG\" style=\"width: 169px; height: 225px;\"><span style=\"width: 169px;\" class=\"image_caption\">$Dollarocracy$</span></span></p>\n<p>\n\tThe <strong>$Dollarocracy$ mosaic</strong>\u00a0consists of two large, colorful mosaic panels on the outside of the ILWU union hall on Hegenberger created by <a href=\"Beniamino%20Benvenuto%20Bufano\">Benny Bufano</a>.</p>\n<p>\n\tThe mosaic was created in either 1965 or 1967. The large figure depicts <em>\"a bloated Pluto, and leitmotif of his life: Bufano's money consisted of his sculptures, which he bartered for essential services and his modest needs.\"</em> <sup>1</sup></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/IMG_3092.JPG\" style=\"width: 400px; height: 300px;\"><span style=\"width: 400px;\" class=\"image_caption\"><em>CC SA-BY <a href=\"Our%20Oakland\">Our Oakland</a></em></span></span></p>\n<h2>\n\tLinks and References</h2>\n<ol>\n\t<li>\n\t\t<a href=\"https://books.google.com/books?id=Nevq7gnw-WgC&amp;lpg=PA539&amp;ots=29PMV1D3Zs&amp;dq=%24dollarocracy%24%20mosaic&amp;pg=PA539#v=onepage&amp;q=%24dollarocracy%24%20mosaic&amp;f=false\">The Italian American Heritage: A Companion to Literature and Arts</a> by George J. Leonard, editor, \u00a0Routledge, 1998</li>\n</ol>\n", "region": "https://ja.localwiki.org/api/v4/regions/340/", "history_comment": null, "history_date": "2021-10-15T13:02:47.822", "history_type": 0, "history_user": "https://ja.localwiki.org/api/v4/users/3242/", "history_user_ip": "2600:1702:2770:bc20:4c75:2527:717e:22f0" }