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/959/
https://zh.localwiki.org/api/v4/pages/959/", "name": "Women's Shelter of Central Arkansas", "slug": "women's shelter of central arkansas", "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>\nP. O. Box 2557 Conway, AR 72033 \n</p><table>\n<tbody><tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Phone</strong></td>\n</tr>\n<tr>\n<td>\n501-329-7405</td>\n</tr>\n<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.conwaywomensshelter.com/\">http://www.conwaywomensshelter.com/</a></td>\n</tr>\n<tr>\n<td style=\"background-color: rgb(224, 224, 255);\">\n<strong>Directors</strong></td>\n</tr>\n<tr>\n<td>\nBeth Goodrich/Kate Vincent</td>\n</tr>\n\n\n</tbody></table>\n<p>\nThe Women's Shelter of Central Arkansas has been providing assistance to victims of family violence in central Arkansas since 1995. What started out as a volunteer information hotline has grown into a 24 hour a day, 7 day a week hotline and shelter housing community members in need of safety. Over the past 12 years we have grown to include a Sexual Assault Assistance/Recovery Program, support groups, transportation for our clients, and personal, legal, and chilld advocacy programs. \n</p>\n", "region": "https://zh.localwiki.org/api/v4/regions/1/", "tags": [] }{ "url": "