Page Instance

API endpoint that allows pages to be viewed and edited.

Tags

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'.

Ordering

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/2026/
HTTP 200 OK Vary: Accept Content-Type: text/html; charset=utf-8 Allow: GET, PUT, DELETE, HEAD, OPTIONS, PATCH
{ "url": "https://ja.localwiki.org/api/v4/pages/2026/", "name": "Joseph Bryan Park", "slug": "joseph bryan park", "content": "<p><strong>Joseph Bryan Park</strong> (commonly referred to as just <strong>Bryan Park</strong>) is a 262 acre <a href=\"Parks\">public park</a> on Richmond's North Side. \n</p>\n<h2>Recreation and Activities</h2>\n<p>In addition to general recreation, Bryan Park offers the following activities:\n</p>\n<ul><li>Walking/Jogging paths\n</li><li><a href=\"Biking\">Biking</a> - Road and Mountain biking paths\n</li><li>Soccer - The <a href=\"Central_Virginia_Soccer_Association\">Central Virginia Soccer Association</a> operates several fields within the park\n</li><li>Tennis\n</li><li>Bird Watching\n</li><li>Disc Golf - 18 holes, free to play, supply your own discs. <a href=\"http://www.pdga.com/course-details?id=2776\" class=\"external text\">Course Info</a>\n</li><li>Fishing - <em>Note: Recent dredging drastically reduced the fish population, but it is technically still possible to fish here</em>\n</li><li>Azalea Gardens - Over 450,000 plants in 76 beds!\n</li><li><a href=\"Sledding\">Sledding</a> is popular here after moderate-to-heavy snow falls.\n</li><li><a href=\"North_of_the_James_Market\">North of the James Market</a> <a href=\"Farmers_Markets\">Farmers Market</a>\n</li></ul>\n<h2>Location and Map</h2>\n<p>Bryan Park is located in the near northwest side of Richmond where I-64 West and I-95 North diverge. The main entrance to the park is located on <a href=\"Hermitage%20Road\">Hermitage Road</a> where it crosses I-95.\n</p>\n<h2>External Links</h2>\n<ul><li><a href=\"http://www.richmondgov.com/applications/parksearch/ParkDetail.asp?park_ID=9\" class=\"external text\">City of Richmond - Bryan Park</a>\n</li><li><a href=\"http://www.friendsofbryanpark.org/\" class=\"external text\">Friends of Bryan Park</a>\n</li></ul>", "region": "https://ja.localwiki.org/api/v4/regions/4/", "tags": [ "biking", "discgolf", "hiking", "parks" ] }