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/233698/
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/233698/", "name": "16sgh \u500b\u4eba\u3000\u6885\u306e\u52b9\u7528", "slug": "16sgh \u500b\u4eba \u6885\u306e\u52b9\u7528", "content": "<h2>\n\t\u6885\u306e\u52b9\u7528</h2>\n<p>\n\t\u7530\u8fba\u306e\u6885(\u7d00\u5dde\u5357\u9ad8\u6885)\u306f\u3068\u3066\u3082\u7f8e\u5473\u3057\u304f\u3066\u3001\u304b\u3089\u3060\u306b\u3082\u3068\u3066\u3082\u3044\u3044\u3067\u3059\u3002\u305d\u3053\u3067\u3001\u6885\u306f\u3069\u3093\u306a\u3044\u3044\u52b9\u679c\u304c\u3042\u308b\u304b\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002</p>\n<p>\n\t<em><u><strong>1.\u75b2\u52b4\u56de\u5fa9</strong></u></em></p>\n<p>\n\t\u6885\u306b\u5165\u3063\u3066\u3044\u308b\u30af\u30a8\u30f3\u9178\u306b\u3088\u3063\u3066\u75b2\u308c\u304c\u53d6\u308c\u307e\u3059\u3002</p>\n<p>\n\t<strong><em><u>2.\u8102\u80aa\u71c3\u713c</u></em></strong></p>\n<p>\n\t\u6700\u65b0\u306e\u7814\u7a76\u3067\u660e\u3089\u304b\u306b\u3002</p>\n<p>\n\t<strong><em><u>3.\u751f\u6d3b\u7fd2\u6163\u4e88\u9632</u></em></strong></p>\n<p>\n\t\u6885\u306b\u542b\u307e\u308c\u308b\u6210\u5206\u304c\u30b0\u30eb\u30b7\u30c0\u30b3\u30fc\u30bc\u3092\u6291\u5236\u3059\u308b\u3053\u3068\u306b\u3088\u3063\u3066\u3002</p>\n<p>\n\t\u3053\u306e\u4ed6\u306b\u3082\u307e\u3060\u307e\u3060\u3044\u3044\u52b9\u679c\u304c\u3042\u308a\u307e\u3059\u3002\u305c\u3072\u3001\u7d00\u5dde\u5357\u9ad8\u6885\u3092\u98df\u3079\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/221/", "tags": [ "16sgh" ] }