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/1197/
https://zh.localwiki.org/api/v4/pages/1197/", "name": "Los 3 Potrillos", "slug": "los 3 potrillos", "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\t<tr>\n\t\t\t<td>\n\t\t\t\t1090 Skyline Drive, Conway, AR 72032</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>Hours</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<p>\n\t\t\t\t\tMon-Sun 11:00 am - midnight</p>\n\t\t\t</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>Phone</strong></td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t(501) 327-1144</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<p>\n\t\t\t\t\t<strong>Website</strong></p>\n\t\t\t\t<p>\n\t\t\t\t\t<span style=\"\">https://www.tripadvisor.com/Restaurant_Review-g31522-d2698610-Reviews-Los_3_Potrillos-Conway_Arkansas.html</span></p>\n\t\t\t</td>\n\t\t</tr>\n\t\t<tr>\n\t\t\t<td>\n\t\t\t\t<p>\n\t\t\t\t\t\u00a0</p>\n\t\t\t</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<p>\n\t\t\t\t\t<strong>Owner(s)</strong></p>\n\t\t\t\t<p>\n\t\t\t\t\t\u00a0</p>\n\t\t\t</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\t~mid 2009?</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\tCards and cash</td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\tLos Tres Potrillos (\"the three little foals\") is a relatively recent addition to the somewhat lengthy list of Mexican restaurants in Conway. Located adjacent to Howard Johnson on Skyline, the restaurant is a fairly bustling place.\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\tThe food menu is extensive, and the drink menu has a wide variety of margaritas. Notably, liter-sized mugs of beer can be had for three dollars.\u00a0</p>\n<p>\n\t\u00a0</p>\n<p>\n\t**needs more info!**</p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/tacos.jpg\" style=\"width: 224px; height: 300px;\"><span style=\"width: 224px;\" class=\"image_caption\">Carnitas Tacos</span></span><span class=\"image_frame image_frame_border\"><img src=\"_files/torta.jpg\" style=\"width: 300px; height: 224px;\"><span style=\"width: 300px;\" class=\"image_caption\">Torta _______?</span></span></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/nachos.jpg\" style=\"width: 402px; height: 300px;\"><span style=\"width: 402px;\" class=\"image_caption\">Nachos Mexicanos</span></span></p>\n<p>\n\t\u00a0</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/1/", "tags": [] }{ "url": "