{"id":37302,"date":"2015-07-06T19:25:14","date_gmt":"2015-07-06T19:25:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/searchwp-api\/"},"modified":"2016-01-07T17:16:05","modified_gmt":"2016-01-07T17:16:05","slug":"searchwp-api","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/searchwp-api\/","author":9688619,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"trunk","tested":"4.4.34","requires":"4.3.1","requires_php":"","requires_plugins":"","header_name":"SearchWP API","header_author":"Josh Pollock for CalderaWP LLC <Josh@CalderaWP.com>","header_description":"","assets_banners_color":"939d88","last_updated":"2016-01-07 17:16:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/CalderaWP.com","header_plugin_uri":"http:\/\/CalderaWP.com","header_author_uri":"https:\/\/CalderaWP.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":14633,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":{"":"<p>Nothing To See Here<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"4"},"assets_icons":[],"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1193620","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1193620","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1118,23853,944,55329,2300],"plugin_category":[],"plugin_contributors":[78444],"plugin_business_model":[],"class_list":["post-37302","plugin","type-plugin","status-publish","hentry","plugin_tags-json","plugin_tags-rest-api","plugin_tags-search","plugin_tags-searchwp","plugin_tags-wp-api","plugin_contributors-shelob9","plugin_committers-shelob9"],"banners":{"banner":"https:\/\/ps.w.org\/searchwp-api\/assets\/banner-772x250.png?rev=1193620","banner_2x":"https:\/\/ps.w.org\/searchwp-api\/assets\/banner-1544x500.png?rev=1193620","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/searchwp-api_939d88.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Run advanced searches via the WordPress REST API and SearchWP.<\/p>\n\n<p>Adds an endpoint to the WordPress REST API for searching via <a href=\"https:\/\/searchwp.com\/\">SearchWP<\/a> -- the best tool for improving the usefulness and performance of WordPress search.<\/p>\n\n<p>This plugin is a free plugin by <a href=\"https:\/\/CalderaWP.com\">CalderaWP<\/a>. It is not an official add-on for SearchWP.<\/p>\n\n<ul>\n<li>Requires WordPress REST API (WP-API) 2.0-beta9 or later or WordPress 4.4 or later.<\/li>\n<li>Requires SearchWP Version 2.6 or later<\/li>\n<\/ul>\n\n<p>Technically will work without SearchWP, but queries will run through WP_Query.<\/p>\n\n<h3>Example Queries<\/h3>\n\n<p>For a complete list of possible queries, see: <a href=\"https:\/\/calderawp.com\/doc\/searchwp-api-queries\/\">https:\/\/calderawp.com\/doc\/searchwp-api-queries\/<\/a>\n* <code>wp-json\/swp_api\/search?s=jedi&amp;egnine=star-wars<\/code>\n* <code>wp-json\/swp_api\/search?&amp;tax_query[field]=slug&amp;tax_query[taxonomy]=categories&amp;tax_query[terms]=1<\/code>\n* <code>wp-json\/swp_api\/search?meta_query[key]=jedi&amp;meta_query[value]=luke&amp;tax_query[compare]=IN<\/code><\/p>\n\n<h3>Does It Work With Version 1 of The REST API?<\/h3>\n\n<p>No, it does not.<\/p>\n\n<h3>I Installed It And Nothing Happened<\/h3>\n\n<p>You are probably using version 1 of the REST API, or have not updated SearchWP past 2.6.<\/p>\n\n<h3>How Shiny Is This Plugin?<\/h3>\n\n<p>Very shiny.<\/p>\n\n<h3>Version 1.1.0 - January, 2015<\/h3>\n\n<ul>\n<li>Complex meta queries<\/li>\n<li>Fallback to WP_Query if not possible to use SearchWP<\/li>\n<\/ul>\n\n<h3>Version 1.0.0 - July 6, 2015<\/h3>\n\n<p>Initial release<\/p>\n\n<!--section=installation-->\n<ul>\n<li>Install SearchWP, and the REST API plugin (you will need to get the \\\"develop\\\" branch from Github.)<\/li>\n<li>Install this plugin.<\/li>\n<li>Activate this plugin.<\/li>\n<li>GET some queries.<\/li>\n<li>Breath in.<\/li>\n<li>Breath out.<\/li>\n<\/ul>","raw_excerpt":"Run advanced searches via the WordPress REST API and SearchWP.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/37302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=37302"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shelob9"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=37302"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=37302"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=37302"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=37302"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=37302"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=37302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}