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/1590/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, DELETE, HEAD, OPTIONS, PATCH
{ "url": "", "name": "James River", "slug": "james river", "content": "<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/James-River.jpg\" style=\"width: 200px; height: 150px;\"><span style=\"width: 200px;\" class=\"image_caption\">The James River</span></span><p>The <strong>James River</strong> bisects Richmond and serves as a valuable natural resource for the region.\n</p>\n<h2>Recreation</h2>\n<p>The river provides numerous recreational opportunities for Richmonders. It's a popular place nearly year-round for outdoor enthusiasts and weekend warriors alike.\n</p>\n<h3>Fishing</h3>\n<p>The James is known in fishing circles for its smallmouth bass population but spotted and largemouth bass are also present.<sup><a href=\"#cite_note-0\">[1]</a></sup> Recent years have shown smaller than average spawns, but the river remains a popular destination for local fishermen.<sup><a href=\"#cite_note-1\">[2]</a></sup>\n</p><p>A Virginia Fishing License is required and can be purchased <a href=\"\" class=\"external text\">here</a> from the Virginia Department of Game and Inland Fisheries.\n</p>\n<h3>Canoeing, Kayaking, and Boating</h3>\n<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/James-River-Kayaking.jpg\" style=\"width: 200px; height: 150px;\"><span style=\"width: 200px;\" class=\"image_caption\">A Kayak on the James River</span></span><a href=\"Belle_Isle\">Belle Isle</a> in downtown Richmond offers Class IV rapids for more experienced river runners. \n<p>There are public boat launches available at several locations around metro Richmond, listed on the state website <a href=\";waterbody=James%20River\" class=\"external text\">here</a>. \n</p>\n<h3>Swimming and Sunbathing</h3>\n<p>During warmer months, many people visit <a href=\"Belle_Isle\">Belle Isle</a>, <a href=\"Pony%20Pasture%20Rapids\">Pony Pasture Rapids</a> (near the <a href=\"Huguenot%20Bridge\">Huguenot Bridge</a>), <a href=\"Texas%20Beach\">Texas Beach</a>, or any of the other properties in the <a href=\"James_River_Park_System\">James River Park System</a>.\n</p><p>A city ordinance requires that life jackets be worn by anyone in or on the river when it rises 5 feet or more. When it reaches 9 feet, the river is closed to all except those with permits. \n</p>\n<h2>Flooding</h2>\n<p>On August 31, 2004, the <a href=\"Shockoe_Bottom\">Shockoe Bottom</a> district was devastated by flooding brought on by torrential rains from the remnants of Tropical Storm Gaston. The storm lingered over the Richmond area, dumping nearly 12 inches (300 mm) of rain in the Shockoe Bottom watershed. A 20-block area, including most of Shockoe Bottom, was declared uninhabitable in the wake of the flood.\n</p><p>A multi-million dollar floodwall was completed in 1995, in order to protect the city and the Shockoe Bottom businesses from the rising waters of the James River.\n</p><p>Richmond suffered some severe flooding in 1972, when Hurricane Agnes dumped 16 inches (410 mm) of rain on central Virginia. This flooded the James River to 6.5 feet (2.0 m) over the original 200-year old record.\n</p><p><br>\n</p>\n<h2>More References</h2>\n<ol><li><a name=\"cite_note-0\"></a><a href=\"\" class=\"external free\"></a></li>\n<li><a name=\"cite_note-1\"></a><a href=\"\" class=\"external free\"></a></li></ol>", "region": "", "tags": [ "boating", "fishing", "parks", "richmondcity", "swimming", "thingstodo", "watersports" ] }