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/964/
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/964/", "name": "Pizza", "slug": "pizza", "content": "<p>\n<a href=\"Conway\">Conway</a>, being a [college] town, has many establishments that offer all sorts of pizzas. Pizza is one of the few things available for <a href=\"Delivery\">delivery</a> in <a href=\"Conway\">Conway</a>. Pizza is an iconically delivered item, and tipping the person delivering the pizza is common. The <a href=\"http://tipthepizzaguy.com/\">Tip the Pizza Guy Website</a> has guides on how to tip, and also how to place an order to make sure you get what you want, how to make sure the delivery person can find the house and more. \n</p>\n<p>\nMost of the pizza establishment pages have an accompanying photo of a typical large pepperoni pizza. \n</p>\n<h2>Table of Price and Size</h2>\n<p>\nListed here are the prices for a pizza with no extra toppings that is not on sale, alongside its diameter in inches. \n</p>\n\n<table>\n<tbody><tr>\n<td style=\"\">\n<strong>Location</strong></td>\n<td style=\"\">\n<strong>Small</strong></td>\n<td style=\"\">\n<strong>Medium</strong></td>\n<td style=\"\">\n<strong>Large</strong></td>\n<td style=\"\">\n<strong>Extra Large</strong></td>\n<td style=\"\">\n<strong>Delivery Fee</strong></td>\n</tr>\n<tr>\n<td>\n<a href=\"Caffe%20Italia\">Caffe Italia</a></td>\n<td style=\"text-align: center;\">\n$6.95/9\"</td>\n<td style=\"text-align: center;\">\n$10.95/13\"</td>\n<td style=\"text-align: center;\">\n$14.95/15\"</td>\n<td style=\"text-align: center;\">\nn/a</td>\n<td style=\"text-align: center;\">\n$5.00</td>\n</tr>\n</tbody></table>\n<h2>Deals</h2>\n<p>\nThe table is greatly confounded, of course, by the uneven price of toppings and the massive amounts of special deals available. Listed here are known deals that don't require a coupon, although they may require you to be knowledgeable of the deal before going into the store, as pizza places know that if you walked in sans coupon and knowledge of a discount you're probably willing to pay more. If you don't mind being sleazy to save a buck, sometimes you can get a reduced price by simply flirting with the clerk and asking what deals they have that aren't listed on the menu. \n</p>\n\n <ul><li>\n If you get takeout from <a href=\"Pizza%20Guys\">Pizza Guys</a> you get a free 2 liter soda. They also have a coupon special for under $12 that includes a large pizza w/ one topping (FSI=109), cheesy garlic bread (FSI=56.7), and a free drink. Counting the garlic bread, they have the best FSI to price ratio in Conway. \n</li>\n\n </ul><h2>Functional Square Inch</h2>\n<p>\nA graph of price per square inch would seem appropriate from the table above, however not all pizzas are made the same. Crust radius, in particular, tends to confound the <em>real</em> size of a pizza, so below is a table showing the number of Functional Square Inches (FSI) of a Pizza. The FSI reflects the area containing toppings, and can therefore reveal how much certain places rip people off by having a ridiculous amount of crust. FSI = 3.14159 * (radius - crust length)*(radius - crust length) \n</p>\n<p>\nPlease consult <a href=\"Pizza%3A%20FSI%20Calculations\">Pizza: FSI Calculations</a> for how to interpret and update this chart. \n</p>\n\n<table>\n<tbody><tr>\n<td>\n<strong>Location</strong></td>\n<td>\n\u2014<strong>FSI of Small</strong>\u2014</td>\n<td>\n<strong>FSI of Medium</strong>\u2014</td>\n<td>\n<strong>FSI of Large</strong>\u2014</td>\n<td>\n<strong>FSI of Extra Large</strong>\u2014</td>\n</tr>\n<tr>\n<td>\n<a href=\"Caffe%20Italia\">Caffe Italia</a></td>\n<td style=\"text-align: center;\">\n?</td>\n<td style=\"text-align: center;\">\n?</td>\n<td style=\"text-align: center;\">\n?</td>\n<td style=\"text-align: center;\">\nn/a</td>\n</tr>\n</tbody></table>\n<h2>Make Your Own</h2>\n<p>\nMaking pizza can be a cinch or it can be a fun, all-day cooking project depending how much time you want to put on it. \n</p>\n<h3>Dough</h3>\n<p>\nYou can use a pizza stone to cook pizza, but it isn't required. For a cheaper alternative to a pizza stone, get a large, unglazed flooring tile (ceramic is better than composite, since composite will expand and contract differently and break quicker). They're available at Lowe's for around $5. You can also just pre-cook the dough right on the oven rack\u2014about 8-10 minutes at 375-400 degrees will give you a nice crust, shorter if you roll it out really thin. Pull it out, add the sauce, cheese, and toppings, and toss it back in until they're done. \n</p>\n\n <ul><li>\n Pre-made, pre-cooked doughs are available at most <a href=\"supermarkets\">supermarkets</a> \n</li>\n <li>\n Many pizzerias sell dough balls in various sizes (e.g. Lamppost \"large\" dough ball is $3, and easily rolls out into a 16\"-18\" pie) \n</li>\n <li>\n You can make your own\u2014just do a web search for pizza dough recipes \n</li>\n\n </ul><h3>Sauce</h3>\n<p>\nMost pizzerias offer red and white sauces; many offer a wide variety of others. \n</p>\n\n <ul><li>\n For a classic red sauce, use a 6-oz can of tomato paste, 3/4 cup water, a drizzle of honey, a little parmesan cheese, some minced garlic (optional), and a few seasonings of your choice (e.g. a dash each of oregano, basil, marjoram, and cayenne pepper). \n</li>\n <li>\n You can even use spaghetti sauce from a jar, if you want something quick and easy. \n</li>\n <li>\n Like white sauces at pizza joints? Try a jar of garlic alfredo sauce. \n</li>\n <li>\n Pesto (home-made or store bought) makes a great pizza sauce. \n</li>\n <li>\n Blue cheese salad dressing is also great. \n</li>\n <li>\n Your favorite BBQ sauce will be delicious on pizza. \n</li>\n\n </ul><h3>Cheese</h3>\n\n <ul><li>\n Shredded mozzarella is quick, easy, and fairly traditional. Around 8 oz. is good for one large-ish pizza. You can get it in 8- or 16-oz. bags at any grocery store. \n</li>\n <li>\n Try mixing it up. Use a few different cheeses. Sprinkle some parmesan on. If you're using bold toppings, try a smoked cheese (gouda or mozzarella, for example). \n</li>\n\n </ul><h3>Toppings</h3>\n<p>\nThere aren't that many things that <em>aren't</em> good on pizza. You can get really creative and get some fantastic results. Be sure to pre-cook any uncooked meats. \n</p>\n\n <ul><li>\n Pepperoni, sliced ham and canned pineapple, and so on are quick and easy. Chicken, shrimp, bacon, salami, black olives, bell pepper, mushroom, onion, zucchini, bacon, basil, spinach, tomato, artichoke hearts (try marinated!) ... the list goes on and on. \n</li>\n <li>\n Chopped fresh veggies of all sorts make for an amazing pizza. Try sprinkling some Italian seasoning over the top (you can get a real kick of flavor using one of those Italian dressing spice blends\u2014without the oil and vinegar, of course). \n</li>\n <li>\n Like <a href=\"hot%20wings\">hot wings</a>? Try cooking up a couple of chicken breasts and tossing them with your favorite <a href=\"hot%20sauce\">hot sauce</a> (Frank's Red Hot is a pretty common Buffalo sauce). Great with a blue cheese dressing as the sauce. \n</li>\n <li>\n Shrimp, bacon, and tomatoes make a pretty amazing combination, especially with pesto or a garlic alfredo sauce. \n</li>\n <li>\n Try experimenting with some of the classics. Like Hawaiian? Chop up some fresh pineapple and an onion and marinate it for a few hours in good maple syrup and a bit of cayenne pepper. Yum. \n</li>\n</ul>", "region": "https://ja.localwiki.org/api/v4/regions/1/", "tags": [] }