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/15872/
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/15872/", "name": "Logo brainstorming", "slug": "logo brainstorming", "content": "<p>\n\tWhat should the logo for the sf wiki be?</p>\n<p class=\"indent1\">\n\tEye in the Pyramid. \u2014<a href=\"Users/BrentLaabs\">BrentLaabs</a></p>\n<p class=\"indent1\">\n\tThe Golden Gate Bridge combined with the Transamerica Pyramid. \u2014<a href=\"Users/Jedron\">Jedron</a></p>\n<h2>\n\tComments</h2>\n<p>\n\t<em>2007-09-07 07:41:19</em> \u00a0 Sutro tower? fog? Cable car? \u2014<a href=\"Users/AmyZimmerman\">AmyZimmerman</a></p>\n<hr>\n<p>\n\t<em>2007-09-23 00:46:22</em> \u00a0 This may sound kind of weird... but perhaps some kind of abstract pattern? One idea could be something mimicking the brick circles around the embarcadero center. Landmarks are nice but may be a bit too cliche. <a href=\"http://www1.istockphoto.com/file_thumbview_approve/1772238/2/istockphoto_1772238_embarcadero_sidewalk_san_francisco_california_usa.jpg\">Here</a> is what I'm talking about. \u2014<a href=\"Users/DanielWorthington\">DanielWorthington</a></p>\n<hr>\n<p>\n\t<em>2007-09-23 13:01:49</em> \u00a0 Yeah, I vote against landmarks, too. At least no overused landmarks like the Golden Gate Bridge. The circles a nice, but they might be a little too abstract. We need something that can be associated with the city. \u2014<a href=\"Users/NumiaCairaguas\">NumiaCairaguas</a></p>\n<hr>\n<p>\n\t<em>2007-09-23 13:07:56</em> \u00a0 Idea roll: Hills, fog, the bay, gold, missions, peace signs, international issues, earthquakes... \u2014<a href=\"Users/NumiaCairaguas\">NumiaCairaguas</a></p>\n<hr>\n<p>\n\t<em>2007-09-23 20:07:45</em> \u00a0 Simple sillouette-ish image of skyline. No cable cars, golden gate, etc. Combining too many things (like on the typical state quarter) makes it too busy. \u2014<a href=\"Users/KaiTing\">KaiTing</a></p>\n<hr>\n<p>\n\t<em>2007-09-28 18:32:36</em> \u00a0 A curvy double lined lettering ala the muni logo <a href=\"http://upload.wikimedia.org/wikipedia/en/b/b4/Sfmuni_logo.png\">Here</a>but saying SFWIKI \u2014<a href=\"Users/ElijahCombs\">ElijahCombs</a></p>\n<hr>\n<p>\n\t<em>2007-10-04 13:01:49</em> \u00a0 I tried scribbling out something that looked like the muni logo for \"WIKI\" but I couldn't get it to look decent. Can anyone else scribble it well? Maybe it's not possible? Maybe I suck at scribbling? \u2014<a href=\"Users/PhilipNeustrom\">PhilipNeustrom</a></p>\n<hr>\n<p>\n\t<em>2007-10-04 22:02:01</em> \u00a0 Oh, the MUNI idea is interesting. I tried <a href=\"http://i8.photobucket.com/albums/a47/quiahuitl/wiki/wiki_muni_draft1.png\">a messy preliminary scribbling</a> of \"WIKI\" just for kicks. It's not logo-material yet, but it's readable. Do we want the logo to be a word, though? How would we incorporate \"San Francisco\" into it? SFWIKI sounds good, but there's already a wiki with that name. \u2014<a href=\"Users/NumiaCairaguas\">NumiaCairaguas</a></p>\n<hr>\n<p>\n\t<em>2007-10-05 00:50:58</em> \u00a0 Maybe something like <a href=\"http://farm2.static.flickr.com/1022/1488749070_f12abb20a7_o.jpg\">this</a>? \u2014<a href=\"Users/AmyZimmerman\">AmyZimmerman</a></p>\n<ul>\n\t<li>\n\t\tOoooh, that's nice! Is it possible to expand the K a little? I like this. \u2014<a href=\"Users/NumiaCairaguas\">NumiaCairaguas</a></li>\n\t<li>\n\t\tHaha, that's awesome! We need to clean it up a bit \u2014 do you have a larger version someone could use for tracing in a vector image program (e.g. illustrator or inkscape)\n\t\t<ul>\n\t\t\t<li>\n\t\t\t\tThat was just a draft. I'm not so skilled with Photoshop or other drawing programs, but I liked Eli's idea and wanted to see how well it could work. I'm sure the K could be a lot better. \u2014 <a href=\"Users/AmyZimmerman\">AmyZimmerman</a></li>\n\t\t</ul>\n\t</li>\n\t<li>\n\t\tOk everyone stop. I'm pretty sure we're done here. This is the best possible logo. Check out <a href=\"http://www.down10.com/fonts/muni.html\">this free font</a> for inspiration \u2014 <a href=\"Users/MikeIvanov\">MikeIvanov</a></li>\n</ul>\n<p>\n\tHere's a side-by-side of the muni font and amy's design:</p>\n<p>\n\t<img src=\"http://farm2.static.flickr.com/1022/1488749070_f12abb20a7_o.jpg\" alt=\"http://farm2.static.flickr.com/1022/1488749070_f12abb20a7_o.jpg\" title=\"http://farm2.static.flickr.com/1022/1488749070_f12abb20a7_o.jpg\"></p>\n<p>\n\t<span class=\"image_frame image_frame_border\"><img src=\"_files/wikilogotestfont.png\" style=\"width: 99px; height: 192px;\"><span style=\"width: 99px;\" class=\"image_caption\">capitalized and lowercase (with dots on i's) versions. </span></span></p>\n<p>\n\tI think the capitalized version fits the muni logo parody much better. We should nudge the letters together a bit more, and do a tad bit of cleanup. The K in the font looks better, I think. \u2014<a href=\"Users/PhilipNeustrom\">PhilipNeustrom</a></p>\n<p class=\"indent1\">\n\tIt's ELI's design! \u2014<a href=\"Users/AmyZimmerman\">AmyZimmerman</a></p>\n<h3>\n\tnewer draft</h3>\n<p>\n\t<a href=\"_files/sfwiki_muni_draft.svg\">sfwiki_muni_draft.svg</a> <span class=\"image_frame image_frame_border\"><img src=\"_files/new_draft_muni_with_font.png\" style=\"width: 192px; height: 111px;\"></span></p>\n<p class=\"indent1\">\n\tI think \"WIKI\" should be smaller inside the circle and the original font for \"SF\" is way better, even the color. - <a href=\"Users/MikeIvanov\">MikeIvanov</a></p>\n<p class=\"indent1\">\n\tAmy, do you remember what font you used for the \"SF\" part?</p>\n<ul class=\"indent1\">\n\t<li>\n\t\tArial Black</li>\n</ul>\n<p>\n\tEli says to try and experiment with non-circle muni-like designs, a-la what's on the buses/stops (rather than what's on the website).</p>\n<hr>\n<p>\n\t<em>2007-10-10 11:35:26</em> \u00a0 I agree that the Arial font looks better, but the gray looks really weird when it's placed up in the top logo area. \u2014<a href=\"Users/PhilipNeustrom\">PhilipNeustrom</a></p>\n<h3>\n\tmore ideas</h3>\n<p>\n\t<a href=\"_files/sfwiki_muni_draft2.svg\">sfwiki_muni_draft2.svg</a> <span style=\"\" class=\"image_frame image_frame_border\"><img src=\"_files/more_ideas.png\"></span></p>\n<h3>\n\tcustom \"wiki\" logo</h3>\n<p>\n\t<a href=\"_files/sfwiki_muni_draft_custom.svg\">sfwiki_muni_draft_custom.svg</a></p>\n<p>\n\t<span style=\"\" class=\"image_frame\"><img src=\"_files/custom_draft_i_suck.png\"></span></p>\n<p>\n\t<em>2007-10-12 07:54:13</em> \u00a0 I don't like that so much. The I is inconsistent. Although the main reason the Muni logo is so cool is because it flows like that... \u2014<a href=\"Users/AmyZimmerman\">AmyZimmerman</a></p>\n<p class=\"indent1\">\n\tI don't think there's really a way to make the \"I\" totally consistent. The question is: can you tell it's an \"I?\" Maybe we could add a dot to it if it's not clear? Hmmm... What I like about the \"customized\" logo is that it's a lot more elaborate and looks like more work went into it, and so it could stand on it's own, so to speak.</p>\n<p class=\"indent2\">\n\tThe \"I\" isn't visible by itself, but I can tell that it says WIKI. My mind interprets it as WIKI. Have any of you heard about that word-recognition experiment where all the words in a paragraph were scrambled, but the first and last letters of every word were left in place? It looked like gibberish, but it was totally readable. It turned out that most people's minds read by paying attention to the first and last letters of words. The rest of the letters were just shapes that the mind recognized, no matter the order. The MUNI style logo is kind of like that. \u2014<a href=\"Users/NumiaCairaguas\">NumiaCairaguas</a></p>\n<hr>\n<p>\n\t<em>2007-10-19 03:10:45</em></p>\n<p>\n\t<span style=\"\" class=\"image_frame image_frame_border\"><img src=\"_files/actual%20muni%20logo.gif\"></span> (actual muni logo)</p>\n<p>\n\t<span style=\"\" class=\"image_frame image_frame_border\"><img src=\"_files/sf%20wiki%20logo%20draft.gif\"></span> (another draft logo)</p>\n<p>\n\tThe latter is what you get if you apply the \"rules\" of the former \u2014 at least in my mind. \u2014CJ</p>\n<hr>\n<p>\n\t<em>2007-10-19 15:21:45</em> \u00a0 It might be better to ignore the rules of the original muni sign and make the \"I\" into two vertical lines instead of one solid one. even though they don't do that in the muni one it might look truer to the original that way. \u2014<a href=\"Users/MatthiasGropp\">MatthiasGropp</a></p>\n<p class=\"indent1\">\n\tYou mean the final \"I\"?</p>\n<hr>\n<p>\n\t<em>2007-10-20 14:04:58</em></p>\n<p>\n\t<span style=\"\" class=\"image_frame image_frame_border\"><img src=\"_files/actual%20muni%20logo.gif\"></span> (actual muni logo)</p>\n<p>\n\t<span style=\"\" class=\"image_frame image_frame_border\"><img src=\"_files/sf%20wiki%20log%20draft%202.gif\"></span></p>\n<p>\n\t<span style=\"\" class=\"image_frame image_frame_border\"><img src=\"_files/sf%20wiki%20logo%20draft%203.gif\"></span></p>\n<p>\n\t<span style=\"\" class=\"image_frame image_frame_border\"><img src=\"_files/sf%20wiki%20logo%20draft%204.gif\"></span></p>\n<p>\n\t<span style=\"\" class=\"image_frame image_frame_border\"><img src=\"_files/draft5.gif\"></span></p>\n<p>\n\tHow's this? \u2014CJ</p>\n<hr>\n<p>\n\t<em>2007-11-01 15:09:21</em> \u00a0 How's this for a favicon: <a href=\"http://sf.wikispot.org/Users/HimySyed?sendfile=true&amp;file=sfwiki-favicon.gif\"><img src=\"http://sf.wikispot.org/Users/HimySyed?sendfile=true&amp;file=sfwiki-favicon.gif\" alt=\"http://sf.wikispot.org/Users/HimySyed?sendfile=true&amp;file=sfwiki-favicon.gif\" title=\"http://sf.wikispot.org/Users/HimySyed?sendfile=true&amp;file=sfwiki-favicon.gif\"></a> ? \u2014<a href=\"Users/HimySyed\">HimySyed</a></p>\n<hr>\n<p>\n\t<em>2007-11-02 08:22:52</em> \u00a0 I'd prefer a static icon, but if we were to use an animated one I think it should be a lot shorter. \u2014<a href=\"Users/AmyZimmerman\">AmyZimmerman</a></p>\n<hr>\n<p>\n\t<em>2007-11-09 18:25:41</em> \u00a0 I like the current one, but I think the \"S\" and the \"F\" should be slightly closer together. \u2014<a href=\"Users/Mingwong\">Mingwong</a></p>\n", "region": "https://ja.localwiki.org/api/v4/regions/2/", "tags": [] }