Page Instance

API endpoint that allows pages to be viewed and edited.


Tags can be found in the tags attribute. You can update just the tags by issuing a PATCH here with just the tags attribute present, e.g.:

{"tags": ["park", "fun"]}

To update a page and not change the tags, simply exclude the tags field from your update.

To delete all tags from the page, issue a request with tags set to [].

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.
  • tags -- Filter by tag. E.g. tags=park for all pages tagged 'park', or tags=park,wifi for all pages tagged 'park' and also tagged 'wifi'.


You can order the result set by providing the ordering query parameter with the value of one of:

  • slug

You can reverse ordering by using the - sign, e.g. -slug.

GET /api/v4/pages/1192/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, DELETE, HEAD, OPTIONS, PATCH
{ "url": "", "name": "Whole Hog Cafe", "slug": "whole hog cafe", "content": "<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Location</strong></td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t150 East Oak Street Conway, AR 72032</p>\n<p>\n\tIn the Faulkner Plaza shopping area by Hobby Lobby</p>\n<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Hours</strong></td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\tMonday-Thursday 11:00 am - 8:00 pm</p>\n<p>\n\tFriday-Saturday 11:00 - 9:00 pm</p>\n<p>\n\tSunday 11:00am - 2:00 pm</p>\n<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Phone</strong></td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t(501) 513-0600 fax (501) 513-0601</p>\n<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\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=\"\"></a></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<a href=\"\"></a></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Owner(s)</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t???</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Established</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t???</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Payment Method</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tCards and cash</td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\tAward Winning BBQ, and they have frequent diner cards</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/pork.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">Jumbo pulled pork with potato salad and cole slaw.\u00a0</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/ribs.jpg\" style=\"width: 300px; height: 225px;\"><span style=\"width: 300px;\" class=\"image_caption\">Beef rib plate with beans and potato salad.</span></span></p>\n<p>\n\t\u00a0</p>\n<hr>\n<h3>\n\tComments:</h3>\n<p>\n\tWhole Hog has phenomenal pulled pork! I have never had a bad experience at Whole Hog - it is my go-to destination after giving blood, and I bring all of our out-of-town visitors here! -JeffPadberg</p>\n", "region": "", "tags": [] }