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/1419693/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, HEAD, OPTIONS
{ "url": "https://zh.localwiki.org/api/v4/pages_history/1419693/", "name": "Davis Cards and Games Shop", "slug": "davis cards and games shop", "content": "<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>Location</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<p>\n\t\t\t\t\t<span class=\"text\">1790 E. 8th Street , Davis, CA 95616</span></p>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>Hours</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tEvery day: 11 noon - 9 pm</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>Phone</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t(530) 564-4656</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>Wheelchair Accessible</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tYes</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>Website</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<a href=\"http://www.daviscardsandgames.com/\">http://www.daviscardsandgames.com/</a></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>Email</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<p>\n\t\t\t\t\t<a href=\"mailto:[email protected]\">[email protected]</a></p>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<p>\n\t\t\t\t\t<strong>Established</strong></p>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t3-4-16</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(232, 236, 239);\">\n\t\t\t\t<strong>Payment Methods</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tCash, Credit, Debit</td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t(Coincidentally sharing the name with a <a href=\"https://daviswiki.org/Davis_Cards_and_Games#\">student club on campus</a>. )</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<strong>Davis Cards &amp; Games</strong> is a store that sells board games, card games, collectible card games, tabletop role-playing books, miniature games, paint and supplies, puzzles, clever toys, dice, gaming accessories: card sleeves, play-mats, plushies, pins, stickers and t-shirts.\u00a0 Single Magic the Gathering and Pokemon CCG cards are available.\u00a0 There is a rental game library of board games that you can play in-store or take home for a small fee.\u00a0 If you want a game title that is not in stock, it can likely be ordered for you.\u00a0\u00a0</p>\n<p>\n\tKids events are usually held Saturday &amp; Sundays until 2pm.\u00a0 Drop in D&amp;D for kids on Saturday and Pokemon for kids on Sunday.\u00a0 Adult drop in D&amp;D on Saturdays at 3pm and there are special RPG showcases held most Saturday nights.\u00a0 Saturday nights is also board game night.\u00a0 On Sunday's\u00a0 from 4pm - close the play area is devoted to playing and painting miniature models.\u00a0 The store holds weekly tournaments for Magic the Gathering, Yu-Gi-Oh!, Cardfight Vanguard, Weiss Schwarz, Pokemon &amp; Digimon.\u00a0 Tickets for all events are available to purchase on the website www.daviscardsandgames.com</p>\n<p>\n\tThere is a $5 fee to use the play space and that includes use of the game library.</p>\n<p>\n\t\u00a0</p>\n<p>\n\tThe weekly schedule can be found at:\u00a0<a href=\"https://www.facebook.com/daviscardsandgames/\">https://www.facebook.com/daviscardsandgames/</a></p>\n<hr>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/12717492_167350613643892_5006945213795909433_n.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">Old location</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/DSC00526%20copy.jpg\" style=\"width: 300px; height: 200px;\"><span style=\"width: 300px;\" class=\"image_caption\">Inside the old location</span></span></p>\n<hr>\n<p>\n\t<span class=\"plugin comments\">Comments:</span></p>\n<hr>\n<p>\n\t<em>2016-03-04 17:34:17</em> \u00a0 I checked out the grand opening today--looks like a nice place; small but with a lot of potential. Friendly staff, decent selection of card games and board games, and plenty of tables and chairs. I look forward to seeing how this develops as a community hub. \u2014<a href=\"Users/BarnabasTruman\">BarnabasTruman</a></p>\n", "region": "https://zh.localwiki.org/api/v4/regions/358/", "history_comment": null, "history_date": "2022-05-18T23:50:30.524", "history_type": 1, "history_user": "https://zh.localwiki.org/api/v4/users/112932/", "history_user_ip": "195.155.38.233" }