{"id":114854,"date":"2019-12-18T18:48:36","date_gmt":"2019-12-18T18:48:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/o3-cli-services\/"},"modified":"2019-12-18T19:08:06","modified_gmt":"2019-12-18T19:08:06","slug":"o3-cli-services","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/o3-cli-services\/","author":5247604,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"5.3.21","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"O3 CLI Services","header_author":"Matt Schaff","header_description":"Exposes APIs that assist the use of the O3 CLI with WordPress projects","assets_banners_color":"","last_updated":"2019-12-18 19:08:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/o3world\/o3-cli-wordpress-services\/","header_author_uri":"https:\/\/www.o3world.com\/about\/team\/matt-schaff\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":977,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[569,179876,153217,179877,1591],"plugin_category":[],"plugin_contributors":[179878],"plugin_business_model":[],"class_list":["post-114854","plugin","type-plugin","status-publish","hentry","plugin_tags-automation","plugin_tags-o3-cli","plugin_tags-quality-assurance","plugin_tags-regression-testing","plugin_tags-testing","plugin_contributors-gwolfman","plugin_committers-o3world"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/o3-cli-services.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>In its current version, O3 CLI Services exposes two WordPress REST API endpoints\nto empower developers and QA engineers to query URL paths of WordPress posts by\npost types, category types, and menus.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Use the \/wp-json\/o3-cli-api\/url-sources API endpoint to get a list of sources of\nURL paths, and use the \/wp-json\/o3-cli-api\/urls API to get a list of URL paths\nof posts in the system, using your sources as URL query parameter filters.<\/p>\n\n<p>Source filters for \/wp-json\/o3-cli-api\/urls:\n  - post_types\n    - Include a comma-separated list of post type machine names.\n  - categories\n    - Include a comma-separated list of category slugs.\n  - menus\n    - Include a comma-separated list of menu slugs.\n  - limit\n    - Include an integer limit to control the maximum number of URL paths to\n    return for each machine name in any source.<\/p>\n\n<p>An example request:<\/p>\n\n<p>GET http:\/\/example.com\/wp-json\/o3-cli-api\/urls?post_types=post,product&amp;categories=food,travel&amp;menus=main-navigation,footer-menu&amp;limit=50<\/p>\n\n<p>The above example requests the URL paths of posts of post types with the machine\nnames of 'post' and 'product', having categories with 'food' and 'travel' slugs,\nas well as items in menus with 'main-navigation' and 'footer-menu' slugs. As\nwith any WordPress REST API endpoints, the above request returns a JSON array.<\/p>\n\n<p>The O3 CLI automatically generates requests like the above, and it empowers\ndevelopers and QA engineers to dynamically generate visual regression tests,\namong other needs. See the documentation at\nhttps:\/\/www.npmjs.com\/package\/o3-cli.<\/p>\n\n<!--section=installation-->\n<p>Upload the O3 CLI Services plugin to your blog, or download it to the\nyour-project-folder\/wp-content\/plugins folder. Then, activate it on the Plugins\npage.<\/p>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<p><em>Release Date - 19 December 2019<\/em><\/p>\n\n<ul>\n<li>Fixed release naming<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<p><em>Release Date - 19 December 2019<\/em><\/p>\n\n<ul>\n<li>Fixed release naming<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p><em>Release Date - 19 December 2019<\/em><\/p>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"O3 CLI Services integrates any WordPress site with the O3 CLI (https:\/\/www.npmjs.com\/package\/o3-cli) tool.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/114854","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=114854"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/o3world"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=114854"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=114854"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=114854"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=114854"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=114854"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=114854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}