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/1421062/
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/1421062/", "name": "Howling Cow Ice Cream", "slug": "howling cow ice cream", "content": "<p>\n\tHowling Cow Ice Cream is an ice cream brand created and operated by North Carolina State University in Raleigh, North Carolina. The idea for the Howling Cow ice cream started as a research project in the 1940s. The ice cream was first introduced to the public in the 1970s at the North Carolina State Fair. In 1980, a cafe in one of the school\u2019s main libraries, D.H. Hill Jr. Library, began to serve the ice cream. Finally, in 2008, the name Howling Cow was officially given to the ice cream. Since then, the brand has expanded and become a staple on the campus of NC State. The milk for the ice cream comes from over 300 cows that live on the school\u2019s Dairy Research and Teaching Farm. The ice cream itself is made in the Feldmeier Dairy Processing Lab, which is located on NC State\u2019s campus. \u2018There are a wide variety of Howling Cow ice cream flavors to choose from, from the standard vanilla, chocolate, and strawberry, to more unique flavors such as Java Bean, Cherry Vanilla, Lemon Wafer, etc.</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<strong>Products</strong></p>\n<p>\n\tThere are a wide variety of Howling Cow ice cream flavors to choose from, from the standard vanilla, chocolate, and strawberry, to more unique flavors such as Java Bean, Cherry Vanilla, Lemon Wafer, etc. The ice cream can be purchased in individual cups or cones and pints from the main shop, as well as larger quantities such as packs and tubs.\u00a0</p>\n<p>\n\t<br>\n\t\u00a0</p>\n<p>\n\t<strong>Where To Find</strong></p>\n<p>\n\tThe main Howling Cow ice cream shop operates out of the Dairy Education Center and Creamery on 100 Dairy Lane, Raleigh, NC, 27603. The shop's hours vary based on the season. There are also several locations on NC State\u2019s campus where you can buy Howling Cow ice cream. In addition, you can also buy Howling Cow ice cream pints at various Harris Teeter locations throughout North Carolina.</p>\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/119/", "history_comment": "Renamed from \"howling cow\"", "history_date": "2022-06-04T15:25:22.321", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/113283/", "history_user_ip": "2603:6080:6103:8ea4:d873:69fd:bb1d:761c" }