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/15820/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, DELETE, HEAD, OPTIONS, PATCH
{ "url": "", "name": "Morning Due Cafe", "slug": "morning due cafe", "content": "<p>\n<span class=\"image_frame image_right\"><img src=\"_files/morningdue_front.jpg\" style=\"width: 400px; height: 300px;\"/></span> \n</p>\n\n<table>\n<tbody><tr>\n<td style=\"background-color: rgb(232, 236, 239);\">\n<strong>Location</strong></td>\n</tr>\n<tr>\n<td>\n3698 17th St </td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(232, 236, 239);\">\n<strong>Hours</strong></td>\n</tr>\n<tr>\n<td>\nMon-Sun. 7:00 a.m. - 8:00 p.m. </td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(232, 236, 239);\">\n<strong>Phone</strong></td>\n</tr>\n<tr>\n<td>\n(415) 621-7156</td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(232, 236, 239);\">\n<strong>Website</strong></td>\n</tr>\n<tr>\n<td>\n<a href=\"\"></a></td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(232, 236, 239);\">\n<strong>Owner(s)</strong></td>\n</tr>\n<tr>\n<td>\n?</td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(232, 236, 239);\">\n<strong>Established</strong></td>\n</tr>\n<tr>\n<td>\n?</td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(232, 236, 239);\">\n<strong>Payment Method</strong></td>\n</tr>\n<tr>\n<td>\ncash, credit</td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(232, 236, 239);\">\n<strong><a href=\"WiFi\">WiFi</a></strong></td>\n</tr>\n<tr>\n<td>\nyes, free</td>\n</tr>\n</tbody></table>\n<p>\nMorning Due Cafe is a <a href=\"Cafes\">cafe</a> in the <a href=\"Mission%20District\">Mission</a>/<a href=\"The%20Castro\">Castro</a> region. They have a number of exciting breakfast options. Probably also options for other parts of the day. \n</p>\n<p/><p/><p/><p/><p><span class=\"image_frame image_frame_border\"><img src=\"_files/morningdue_sign.jpg\" style=\"width: 192px; height: 144px;\"/></span> <span class=\"image_frame image_frame_border\"><img src=\"_files/morningdue_menu.jpg\" style=\"width: 192px; height: 144px;\"/></span> <span class=\"image_frame image_frame_border\"><img src=\"_files/morningdue_inside1.jpg\" style=\"width: 192px; height: 144px;\"/></span> <span class=\"image_frame image_frame_border\"><img src=\"_files/morningdue_inside2.jpg\" style=\"width: 192px; height: 144px;\"/></span> </p><h3>Related Links</h3>\n\n <ul><li>\n<a href=\"Mission%20District\">Mission District</a> \n</li>\n <li>\n<a href=\"The%20Castro\">The Castro</a> \n</li>\n <li>\n<a href=\"Cafes\">Cafes</a> \n</li>\n</ul>", "region": "", "tags": [ "cafe", "coffeeshop", "themission" ] }