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/997/
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/997/", "name": "Cinemark Towne Centre", "slug": "cinemark towne centre", "content": "<table>\n<tbody><tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Location</strong></td>\n</tr>\n</tbody></table>\n<p>\n201 Skyline Drive, Suite 25 Conway, AR 72032 \n</p><table>\n<tbody><tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Hours</strong></td>\n</tr>\n</tbody></table>\nVariable \n<table>\n<tbody><tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Phone</strong></td>\n</tr>\n</tbody></table>\n||1-800-FANDANGO (501) 450-7558 fax (501) 450-7557|| \n<table>\n<tbody><tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Website</strong></td>\n</tr>\n<tr>\n<td>\n<a href=\"http://www.cinemark.com/theatre-detail.aspx?node_id=1728\">http://www.cinemark.com/theatre-detail.aspx?node_id=1728</a></td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Owner(s)</strong></td>\n</tr>\n<tr>\n<td>\n?? General manager = ?</td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Established</strong></td>\n</tr>\n<tr>\n<td>\nDecember 2010</td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Payment Method</strong></td>\n</tr>\n<tr>\n<td>\nCards and cash</td>\n</tr>\n\n\n</tbody></table>\n<p>\nThis movie theater replaced the old and somewhat tattered theater in the same location. The theater has all the modern technologies that are expected, thus reducing the need for a trip to Rave Theater in Little Rock! </p><h2>Comments</h2> \n<hr/><p>\n<em>2011-08-21 14:55:33</em> \u00a0 Way to go, Conway! Instead of wasting gas/time to get to Little Rock for movies, we can keep it local and our tax money will stay here!! \u2014<a href=\"Users/JeffPadberg\">JeffPadberg</a> \n</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/1/", "tags": [] }