{"id":32487,"date":"2014-11-04T00:34:25","date_gmt":"2014-11-04T00:34:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/josie-api\/"},"modified":"2014-11-07T23:02:18","modified_gmt":"2014-11-07T23:02:18","slug":"josie-api","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/josie-api\/","author":9688619,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.3","stable_tag":"trunk","tested":"4.0.38","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Josie API","header_author":"Josh Pollock","header_description":"","assets_banners_color":"3a3a3c","last_updated":"2014-11-07 23:02:18","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/JoshPress.net","header_plugin_uri":"https:\/\/github.com\/shelob9\/josie-api","header_author_uri":"http:\/\/JoshPress.net\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1661,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.1.0":"<p>Initial release.<\/p>","0.1.1-2":"<p>Bug fixes<\/p>","0.1.3":"<p>Set option defaults on activation. Better tax query endpoint.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1019111","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1019122","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1019098","resolution":"1","location":"assets"}},"screenshots":{"1":"screenshot-1.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[146,24424,1118,23853,2300],"plugin_category":[52],"plugin_contributors":[78444],"plugin_business_model":[],"class_list":["post-32487","plugin","type-plugin","status-publish","hentry","plugin_tags-cache","plugin_tags-doge","plugin_tags-json","plugin_tags-rest-api","plugin_tags-wp-api","plugin_category-performance","plugin_contributors-shelob9","plugin_committers-shelob9"],"banners":{"banner":"https:\/\/ps.w.org\/josie-api\/assets\/banner-772x250.png?rev=1019122","banner_2x":"https:\/\/ps.w.org\/josie-api\/assets\/banner-1544x500.png?rev=1019111","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/josie-api_3a3a3c.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/josie-api\/assets\/screenshot-1.png?rev=1019098","caption":"screenshot-1.png"}],"raw_content":"<!--section=description-->\n<p>Provides useful tools for optimizing a WordPress site to power a single page web app using WordPress REST API. Designed to work as a companion for the <a href=\"https:\/\/github.com\/shelob9\/josie\">Josie REST API-powered starter app<\/a> but useful for any site using the WordPress REST API.<\/p>\n\n<p>This is a companion plugin for my WordPress REST API (WP-API) powered application starter, called <a href=\"https:\/\/github.com\/shelob9\/josie\">Josie<\/a>. It can be used with any site running the <a href=\"http:\/\/wp-api.org\/\">WordPress REST API<\/a>.<\/p>\n\n<p>It packages multiple libraries, most of which I wrote, to accomplish several things:<\/p>\n\n<p>1) <a href=\"https:\/\/github.com\/shelob9\/jp-rest-cache\">Provides a soft-expiring, server-side cache for requests to the REST API<\/a>.<\/p>\n\n<p>2) <a href=\"https:\/\/github.com\/Shelob9\/jp-tax-query\">Adds routes and endpoints for making tax-queries<\/a>.<\/p>\n\n<p>3) <a href=\"https:\/\/github.com\/Shelob9\/jp-menu-route\">Adds routes and endpoints for getting menus &amp; menu items<\/a>.<\/p>\n\n<p>4) <a href=\"https:\/\/github.com\/Shelob9\/jp-rest-access\">Adds cross-domain headers, and for the posts endpoint allows for page offsets and limits the number of posts_per_page<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Unpack the entire contents of this plugin zip file into your <code>wp-content\/plugins\/<\/code> folder locally<\/li>\n<li>Upload to your site<\/li>\n<li>Navigate to <code>wp-admin\/plugins.php<\/code> on your site (your WP Admin plugin page)<\/li>\n<li>Activate this plugin<\/li>\n<\/ol>\n\n<p>OR you can just install it with WordPress by going to Plugins &gt;&gt; Add New &gt;&gt; and type this plugin\\'s name<\/p>\n\n<!--section=faq-->\n<p>For more information about what this plugin does and how to modify its behavior, please see the READMEs for each of the libraries that make it up.<\/p>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<p>Initial release.<\/p>\n\n<h4>0.1.1<\/h4>\n\n<p>Fix offset.\nSupport for multiple CORS domains<\/p>\n\n<h4>0.1.2<\/h4>\n\n<p>composer.json updates for caching.<\/p>\n\n<h4>0.1.3<\/h4>\n\n<p>Activation hook to set option defaults.\nStreamline tax query endpoint.<\/p>","raw_excerpt":"Adds endpoints for menus &amp; tax-queries, as well as a server-side cache and CORS headers for the WordPress REST API.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32487","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=32487"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shelob9"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32487"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32487"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32487"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32487"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32487"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32487"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}