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/25555/
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/25555/", "name": "Historic Places", "slug": "historic places", "content": "<h2>Buildings</h2>\n<p>\n<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/bokkaitemple.jpg\" style=\"width: 320px; height: 240px;\"/><span style=\"width: 320px;\" class=\"image_caption\">The Bok Kai Temple faces the <a href=\"Levees\">levee</a> and is not visible from any street. Photo by <a href=\"users/queerbychoice\">queerbychoice</a>. </span></span> \n</p>\n\n <ul><li>\n <a href=\"Bok%20Kai%20Temple\">Bok Kai Temple</a> \n</li>\n <li>\n <a href=\"The%20Castle\">The Castle</a> \n</li>\n <li>\n <a href=\"Chinese%20American%20Museum%20of%20Northern%20California\">Chinese American Museum of Northern California</a> \n</li>\n <li>\n <a href=\"Chinese%20Pyre\">Chinese Pyre</a> \n</li>\n <li>\n <a href=\"Hairdressing%20and%20Shaving%20Saloon\">Hairdressing and Shaving Saloon</a> \n</li>\n <li>\n <a href=\"Hart%20Building\">Hart Building</a> \n</li>\n <li>\n <a href=\"Hotel%20Marysville\">Hotel Marysville</a> \n</li>\n <li>\n <a href=\"John%20Packard%20Library%20of%20Yuba%20County\">John Packard Library of Yuba County</a> \n</li>\n <li>\n <a href=\"Mary%20Aaron%20Memorial%20Museum\">Mary Aaron Memorial Museum</a> \n</li>\n <li>\n <a href=\"7%20Mile%20House%20Restaurant%20and%20Watering%20Hole\">7 Mile House Restaurant and Watering Hole</a> \n</li>\n <li>\n <a href=\"Silver%20Dollar%20Saloon\">Silver Dollar Saloon</a> \n</li>\n <li>\n <a href=\"State%20Theatre\">State Theatre</a> \n</li>\n\n </ul><h2>Ranches</h2>\n\n <ul><li>\n <a href=\"Baker%20Ranch\">Baker Ranch</a> \n</li>\n <li>\n <a href=\"Bartsch%20Ranch\">Bartsch Ranch</a> \n</li>\n <li>\n <a href=\"Bean%20Ranch\">Bean Ranch</a> \n</li>\n <li>\n <a href=\"Beresford%20Ranch\">Beresford Ranch</a> \n</li>\n <li>\n <a href=\"Boardman%20Ranch\">Boardman Ranch</a> \n</li>\n <li>\n <a href=\"Bonanza%20Ranch\">Bonanza Ranch</a> \n</li>\n <li>\n <a href=\"Burris%20Ranch\">Burris Ranch</a> \n</li>\n <li>\n <a href=\"Carmichael%20Ranch\">Carmichael Ranch</a> \n</li>\n <li>\n <a href=\"Clayton%20Ranch\">Clayton Ranch</a> \n</li>\n <li>\n <a href=\"Cummings%20Ranch\">Cummings Ranch</a> \n</li>\n <li>\n <a href=\"Dean%20Place\">Dean Place</a> \n</li>\n <li>\n <a href=\"Durst%20Ranch\">Durst Ranch</a> \n</li>\n <li>\n <a href=\"Empire%20Ranch\">Empire Ranch</a> \n</li>\n <li>\n <a href=\"Finley%20Ranch\">Finley Ranch</a> \n</li>\n <li>\n <a href=\"Forbes%20Ranch\">Forbes Ranch</a> \n</li>\n <li>\n <a href=\"Girot%20Ranch\">Girot Ranch</a> \n</li>\n <li>\n <a href=\"Gochette%20Ranch\">Gochette Ranch</a> \n</li>\n <li>\n <a href=\"Indiana%20Ranch\">Indiana Ranch</a> \n</li>\n <li>\n <a href=\"Johnson%27s%20Ranch\">Johnson's Ranch</a> \n</li>\n <li>\n <a href=\"Kelly%20Ranch\">Kelly Ranch</a> \n</li>\n <li>\n <a href=\"Kennedy%20Ranch\">Kennedy Ranch</a> \n</li>\n <li>\n <a href=\"Lohman%20Ranch\">Lohman Ranch</a> \n</li>\n <li>\n <a href=\"Milk%20Ranch\">Milk Ranch</a> \n</li>\n <li>\n <a href=\"Pacific%20Ranch\">Pacific Ranch</a> \n</li>\n <li>\n <a href=\"Pal%20o%27%20Mine%20Ranch\">Pal o' Mine Ranch</a> \n</li>\n <li>\n <a href=\"Camp%20Pendola\">Pendola Ranch</a> \n</li>\n <li>\n <a href=\"Richards%20Ranch\">Richards Ranch</a> \n</li>\n <li>\n <a href=\"Rose%20Ranch\">Rose Ranch</a> \n</li>\n <li>\n <a href=\"Sid%20Smith%20Ranch\">Sid Smith Ranch</a> \n</li>\n <li>\n <a href=\"Skyline%20Ranch\">Skyline Ranch</a> \n</li>\n <li>\n <a href=\"Summit%20Hill%20Ranch\">Summit Hill Ranch</a> \n</li>\n <li>\n <a href=\"Whitehead%20Ranch\">Whitehead Ranch</a> \n</li>\n <li>\n <a href=\"Williams%20Ranch\">Williams Ranch</a> \n</li>\n <li>\n <a href=\"Willow%20Glen%20Ranch\">Willow Glen Ranch</a> \n</li>\n\n </ul><h2>Other Places</h2>\n\n <ul><li>\n <a href=\"D%20Street%2C%20Marysville\">D Street, Marysville</a> \n</li>\n <li>\n <a href=\"Hammonton\">Hammonton</a> \n</li>\n <li>\n <a href=\"Marigold\">Marigold</a> \n</li>\n <li>\n <a href=\"Oregon%20Creek%20Covered%20Bridge\">Oregon Creek Covered Bridge</a> \n</li>\n <li>\n <a href=\"Overland%20Emigrant%20Trail\">Overland Emigrant Trail</a> \n</li>\n <li>\n <a href=\"Timbuctoo\">Timbuctoo</a> \n</li>\n <li>\n <a href=\"Waldo%20Bridge\">Waldo Bridge</a> \n</li>\n <li>\n <a href=\"Waldo%20Junction\">Waldo Junction</a> \n</li>\n\n </ul><h2>Nearby Counties</h2>\n<p>\n<span class=\"image_frame image_frame_border image_right\"><img src=\"_files/malakoffdiggins.jpg\" style=\"width: 320px; height: 240px;\"/><span style=\"width: 320px;\" class=\"image_caption\"><a href=\"http://nevadacounty.wikispot.org/Malakoff%20Diggins%20State%20Historic%20Park\">Malakoff Diggins State Historic Park</a> in <a href=\"Nevada%20County\">Nevada County</a> showcases the environmental destruction wrought by <a href=\"http://en.wikipedia.org/wiki/hydraulic%20mining\">hydraulic mining</a> during the <a href=\"Gold%20Rush\">Gold Rush</a>. Photo by <a href=\"Users/queerbychoice\">queerbychoice</a>. </span></span> \n</p>\n\n <ul><li>\n <a href=\"http://chicowiki.org/Bidwell%20Mansion\">Bidwell Mansion</a> \n</li>\n <li>\n <a href=\"http://nevadacounty.wikispot.org/Donner%20Memorial%20State%20Park\">Donner Memorial State Park</a> \n</li>\n <li>\n <a href=\"http://nevadacounty.wikispot.org/Empire%20Mine%20State%20Historic%20Park\">Empire Mine State Historic Park</a> \n</li>\n <li>\n <a href=\"http://en.wikipedia.org/wiki/Folsom%20Powerhouse%20State%20Historic%20Park\">Folsom Powerhouse State Historic Park</a> \n</li>\n <li>\n <a href=\"http://sacwiki.org/Governor's%20Mansion\">Governor's Mansion</a> \n</li>\n <li>\n <a href=\"http://en.wikipedia.org/wiki/Juan%20Bautista%20De%20Anza%20National%20Historic%20Trail\">Juan Bautista De Anza National Historic Trail</a> \n</li>\n <li>\n <a href=\"http://sacwiki.org/Stanford%20Mansion\">Leland Stanford Mansion</a> \n</li>\n <li>\n <a href=\"http://nevadacounty.wikispot.org/Malakoff%20Diggins%20State%20Historic%20Park\">Malakoff Diggins State Historic Park</a> \n</li>\n <li>\n <a href=\"http://sacwiki.org/Old%20Sacramento\">Old Sacramento</a> \n</li>\n <li>\n <a href=\"http://en.wikipedia.org/wiki/San%20Francisco%20Maritime%20National%20Historical%20Park\">San Francisco Maritime National Historical Park</a> \n</li>\n <li>\n <a href=\"http://sacwiki.org/Sutter's%20Fort\">Sutter's Fort</a> \n</li>\n</ul>", "region": "https://ja.localwiki.org/api/v4/regions/18/", "tags": [] }