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/1421671/
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/1421671/", "name": "Mahmood & Sons", "slug": "mahmood & sons", "content": "<p>\n\tFor over 40+ years, <strong>Mahmood &amp; Sons</strong> have been a leading distribution company in Pakistan, having a rich value of service at its best in the pharmaceutical sector. Mahmood &amp; Sons have a countrywide distribution network and fully equipped zonal offices in major cities across the country in order to meet the market demands efficiently and effectively. The country-wide sales and distribution network is operating in accordance with the standard operating procedures (SOPs) in order to maintain the quality and efficacy of the products and also ensure timely delivery.</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<strong><u>Services</u></strong></p>\n<p>\n\t<strong>Product Sourcing</strong></p>\n<ul>\n\t<li>\n\t\tProvide advice and consultation on various products for the company.</li>\n\t<li>\n\t\tEducate the customer about various regulations applicable, for instance:\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\tTemperature Regulation</li>\n\t\t\t<li>\n\t\t\t\tExpiry Dates</li>\n\t\t\t<li>\n\t\t\t\tPrescribing information</li>\n\t\t</ul>\n\t</li>\n</ul>\n<p>\n\t<strong>Facilitate the Movement of Products in the Market</strong></p>\n<ul>\n\t<li>\n\t\tWe Distribute your medicine all around Punjab with the help of our loyal team including salesman, drivers, etc.</li>\n</ul>\n<p>\n\t<strong>Market Intelligence and Development</strong></p>\n<ul>\n\t<li>\n\t\tMarket feedback regarding new players and activity of the competitors</li>\n\t<li>\n\t\tCustomer feedback regarding our own sales and delivery people</li>\n\t<li>\n\t\tDeveloping new customers</li>\n\t<li>\n\t\tHandling customer complains</li>\n</ul>\n<p>\n\t<strong><u>Distributions</u></strong></p>\n<ol>\n\t<li>\n\t\tIn 1980, A distribution opened in Press Market, Shaheed Road Jhang Sadar with an area of 5,000 SFT</li>\n\t<li>\n\t\tIn 2001, A new Distribution Office (Main Quarter) Opened on Puri Street.</li>\n</ol>\n<p>\n\t<strong><u>History</u></strong></p>\n<p>\n\tThe following timeline shows the History of Mahmood &amp; Sons since it was founded in 1980 by the Puri Group.</p>\n<p>\n\t\u00a0</p>\n<p>\n\t1- <strong>1980</strong></p>\n<p>\n\tMahmood &amp; Sons was founded by a 5 Brothers Puri Group on 10th May 1980 in Jhang.</p>\n<p>\n\t\u00a0</p>\n<p>\n\t2- <strong>1983</strong></p>\n<p>\n\tAsad Saleem Medical Hall, a Brothers concern medicine shop was established in 1983.</p>\n<p>\n\t\u00a0</p>\n<p>\n\t3- <strong>1988</strong></p>\n<p>\n\tIn 1988 Brothers decide to expand their business &amp; Make a new shop on Fowara Chowk Jhang with the name of Medicine Corner to increase customer coverage</p>\n<p>\n\t\u00a0</p>\n<p>\n\t4- <strong>2001</strong></p>\n<p>\n\tA New Office opened at Puri Street, Sultan wala mohalla Dhajji Road Jhang Sadar as the role of head office.</p>\n<p>\n\tRoles</p>\n<p>\n\t\u00a0</p>\n<p>\n\t<strong>CEO &amp; Founder</strong> Tayyab Mahmood Sheikh</p>\n<p>\n\t<strong>President</strong> Saim Ul Hassan</p>\n<p>\n\t<strong>Business Owner</strong> Mahmood Ul Hassan</p>\n<p>\n\t<strong>Managing Director</strong> Ezan Mahmood Sheikh</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/162/", "history_comment": "Added a new wiki of Mahmood & Sons", "history_date": "2022-06-10T02:28:13.631", "history_type": 0, "history_user": "https://zh.localwiki.org/api/v4/users/113388/", "history_user_ip": "59.103.80.161" }