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/225447/
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/225447/", "name": "Howard Lazarus", "slug": "howard lazarus", "content": "<p>\n\tWhat do you know about Howard Lazarus, who is under consideration as City Administrator for the City of Ann Arbor.</p>\n<p>\n\tLinkedIn: <a href=\"https://www.linkedin.com/in/howard-lazarus-90a05520\">Howard Lazarus</a></p>\n<h3>\n\tTimeline: Howard Lazarus</h3>\n<p>\n\tJune 30, 2016. <a href=\"http://www.mlive.com/news/ann-arbor/index.ssf/2016/06/meet_howard_lazarus_ann_arbors.html\">Meet Howard Lazarus, Ann Arbor's new city administrator</a>. Ann Arbor News. \"A retired military man and professional engineer who has worked all across the country, Howard Lazarus, 59, comes to Ann Arbor by way of Austin, Texas, where he was the public works director for the last eight years.\"</p>\n<p>\n\tMay 2, 2016. <a href=\"http://www.mlive.com/news/ann-arbor/index.ssf/2016/05/ann_arbors_next_city_administr_1.html\">Ann Arbor's next city administrator to earn $215K a year</a>. Ann Arbor News. The contract approved Monday night calls for paying Lazarus a starting base salary of $215,000. That's $70,000 more than the starting base salary for <a href=\"Steve%20Powers\">Steve Powers</a>, who was hired as city administrator five years ago.</p>\n<p>\n\tApril 26, 2016. <a href=\"http://www.austinmonitor.com/stories/2016/04/lazarus-offered-top-job-in-ann-arbor/\">Lazarus offered top job in Ann Arbor</a>. Austin Monitor. \u201cIt\u2019s a great opportunity for me, so my wife and I are excited about the potential. \u2026 I\u2019ve grown a lot in the eight years I\u2019ve been here and had the opportunity to be engaged in a lot of things. \u2026 I think I\u2019ve been able to grow the Public Works director position to be fully engaged with the community, and to be supportive of other state agencies and outside entities. We\u2019ve got a great staff here and a great work environment. It will be hard to give all that up,\u201d he said.</p>\n<p>\n\tApril 18, 2016 \"Offer City Administrator Position to Howard Lazarus\", <a href=\"http://a2gov.legistar.com/LegislationDetail.aspx?ID=2692892&amp;GUID=C53D2B06-1F5E-403D-879D-02E025CFC831&amp;Options=&amp;Search=\">Ann Arbor City Council. DC-7 under consideration.</a></p>\n<p>\n\tJuly 24, 2013. <a href=\"http://www.pwmag.com/administration/howard-lazarus-peacemaker.aspx\">Howard Lazarus: Peacemaker</a>. Public Works. \"Lazarus\u2019 $85 million accelerated reconstruction program improved pavement conditions to 80% \u201csatisfactory or better\u201d ratings five years ahead of schedule. He also implemented an initiative that encourages neighborhood groups to work with the city on small-scale community interest projects.\"</p>\n", "region": "https://ja.localwiki.org/api/v4/regions/162/", "tags": [ "20160707ccmtg", "people" ] }