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 pageslug
. Supports the standard lookup typesregion
-- 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', ortags=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/1220/
https://zh.localwiki.org/api/v4/pages/1220/", "name": "Sai Gon Cuisine", "slug": "sai gon cuisine", "content": "<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Location</strong></td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t305 Oak Street, Conway, AR 72032</p>\n<p>\n\t(Between Valero and Taco Bell)</p>\n<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Hours</strong></td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\tLunch served weekdays 11 AM - 2:30 PM</p>\n<p>\n\tMonday Closed</p>\n<p>\n\tTuesday through Thursday 11 AM - 9 PM</p>\n<p>\n\tFriday and Saturday 11 AM - 10 PM</p>\n<p>\n\tSunday 11 AM - 9 PM</p>\n<table>\n\t<tbody>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Phone</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t(501) 327-6200</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Website</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u00a0</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Owner(s)</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t\u00a0</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Established</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tapprox February 2010</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td style=\"background-color: rgb(224, 224, 255);\">\n\t\t\t\t<strong>Payment Method</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\tVisa, Mastercard, Discover, American Express and cash payments.\u00a0</td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t\u00a0</p>\n<p>\n\tSai Gon Cuisine is one of the newer restaurants in town, and one of the more \"international\" in flavor. The menu is very lengthy, with Vietnamese, Thai, and Chinese dishes listed. This is the only place in town where one can get Pho (a flavorful Vietnamese noodle soup).</p>\n<p>\n\t***Bubble tea - describe this bizarre beverage.</p>\n<p>\n\tADD HISTORY: also location in Little Rock - who are the owners? The building was previously an older Taco Bell, which had since moved to a nearby (next door across the street) location.</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/V29.jpg\" style=\"width: 224px; height: 300px;\"><span style=\"width: 224px;\" class=\"image_caption\">Vermicelli and char-grilled pork with salad and egg roll (V29 on the menu)</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/cocobubble.jpg\" style=\"width: 224px; height: 300px;\"><span style=\"width: 224px;\" class=\"image_caption\">Coconut bubble tea</span></span></p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t\u00a0</p>\n<hr>\n<h3>\n\tComments:</h3>\n<p>\n\tLike some other online reviewers, we also had some unexpected modifications to our order - but the food is excellent and the staff is usually fairly accommodating and happy to help with minor alterations to the menu! - JeffPadberg</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/1/", "tags": [] }{ "url": "