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/1286/
https://zh.localwiki.org/api/v4/pages/1286/", "name": "The Pupusaria", "slug": "the pupusaria", "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\t<p>\n\t\t\t\t\tThe parking lot in front of Kroger on Oak.</p>\n\t\t\t\t<p>\n\t\t\t\t\tOutdoor seating.</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>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\tMonday-Saturday: 11:00am - 8:00pm;</p>\n\t\t\t\t<p>\n\t\t\t\t\tExcept Wednesday Closes at 3pm.</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\t501-697-5129</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\tN/A</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???</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\t2010</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\tCash.</td>\n\t\t</tr>\n\t</tbody>\n</table>\n<p>\n\t\"The Pupusaria\" : to my knowledge this is the only pupusaria in <a href=\"Conway\">Conway</a>.\u00a0 They serve Mexican and El Salvadorian food.\u00a0 Pupusas are El Salvadorian and delicious; basically a thick stuffed tortilla.\u00a0 At 'The Pupusaria' you can choose from Beans, Pork, and Cheese (any mixture of the three). \u00a0 Topping comes on the side: pickled cabbage and other goodies, as well as salsa. .\u00a0 At only $1.50 each these make a super affordable meal.\u00a0 For $ 1.65 pupusas can be made with rice flour. \u00a0 They also have quite a number of Mexican items prepared in the more authentic style, but this editor has not yet wanted to put down the pupusa to find out what else is good.\u00a0</p>\n<h3>\n\tMenu</h3>\n<ul>\n\t<li>\n\t\tPupusas (Pork Meat, Cheese, Beans) - $ 1.50</li>\n\t<li>\n\t\tTacos (Steak, Pastor, Barbacoa) - $ 1.25</li>\n\t<li>\n\t\tTortas (Mexican Sandwich; See below) - $6.00\u00a0</li>\n\t<li>\n\t\t<em>Choose: Steak, Breaded Chicken (Milanesa), Pastor, Barbacoa; with avocado, lettuce, beans, mayonnaise, tomatoes</em></li>\n\t<li>\n\t\tBurrito (Chicken or Steak; cheese, beans, rice & sour cream) - $7.50</li>\n\t<li>\n\t\tQuesadillas (Chicken, Steak) - $3.50 (? needs confirmation)</li>\n\t<li>\n\t\tSopes - price unknown</li>\n\t<li>\n\t\tSalvadorian Breakfast - details unknown</li>\n\t<li>\n\t\tFried Plantains - details unknown</li>\n\t<li>\n\t\tmore options to be listed soon...</li>\n</ul>\n<p>\n\t<strong>Remember, you need to take cash.</strong></p>\n", "region": "https://zh.localwiki.org/api/v4/regions/1/", "tags": [] }{ "url": "