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/1377/
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/1377/", "name": "Faulkner County Solid Waste Management District", "slug": "faulkner county solid waste management district", "content": "<p>\n\tLocated off HWY-64 heading toward Menifee. Just before <a href=\"Finton's%20Sculpture%20Garden\">Finton's Sculpture Garden</a> and <a href=\"Cadron_Settlement_Park\">Cadron Settlement Park </a>.</p>\n<h2>\n\tGlass Recycling</h2>\n<hr>\n<p>\n\tNew Glass Recycling available in Conway!\u00a0In the past, anyone who wanted to recycle their glass had to remove all labels, lids and caps from their bottles and jars and transport their glass to the department. With the new recycling program, none of that will be a requirement.</p>\n<p>\n\t\u201cThis will be a curbside program that will pick up your glass that comes from either household glass, food or beverage containers,\u201d said Angie Howard, recycling coordinator for the sanitation department. \u201cAll the little things you had to do before, you won\u2019t have to do now. You can leave the lids and labels on the containers.\u201d</p>\n<p>\n\tAnd residents will be able to leave their glass to be picked up instead of transporting it themselves. The way to do that will be to request a blue recycling bin, which the department has available. The bins are 18 gallons and are available by calling the department.at\u00a0450-6155.\u200b</p>\n<h2>\n\tE-Waste Disposal</h2>\n<hr>\n<p>\n\tThe Faulkner County Solid Waste District offers residents of Faulkner County the opportunity to recycle their electronic waste via the Unicor Corporation in Texarkana, TX.</p>\n<p>\n\tElectronic items are accepted at the City of Conway Recycling Center located at 4550 Hwy 64 West in Conway, Monday through Saturday during normal business hours of 7:30 a.m.- 3:30 p.m.</p>\n<h2>\n\tMulch/Compost</h2>\n<hr>\n<p>\n\tIt is prohibited to throw away (in normal trash can) yard waste.\u00a0 It should be placed in bags or containers labeled yard waste for collection. (Anyone understand the collection schedule?)\u00a0</p>\n<p>\n\tThe yard waste from the city is composted along with chipped limbs and branches.\u00a0 You can load it yourself during normal hours, or on certain days (help?) they will fill it for you with a loader.</p>\n<p>\n\t\u00a0</p>\n<p>\n\tFor other information check out the ..<a href=\"http://www.fcsolidwaste.com/index.html\">(long name)</a>... website.</p>\n<h3>\n\tComments:</h3>\n<hr>\n<p>\n\tIf you are a resident of Maumelle (wink wink), you may take glass recycling (clear, colored, and with labels on them) to the Maumelle recycling center. Very friendly workers, they also take cardboard, paper, etc, see website for details: <a href=\"http://maumelle.org/city-departments/public-works/recycling.html#dropoff\">http://maumelle.org/city-departments/public-works/recycling.html#dropoff</a>\u00a0 -JeffPadberg</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/1/", "tags": [] }