Title: O3 CLI Services
Author: o3world
Published: <strong>18 de desembre de 2019</strong>
Last modified: 18 de desembre de 2019

---

Buscar complements

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/o3-cli-services.svg)

# O3 CLI Services

 Per [o3world](https://profiles.wordpress.org/o3world/)

[Baixar](https://downloads.wordpress.org/plugin/o3-cli-services.1.0.2.zip)

 * [Detalls](https://ca-valencia.wordpress.org/plugins/o3-cli-services/#description)
 * [Ressenyes](https://ca-valencia.wordpress.org/plugins/o3-cli-services/#reviews)
 *  [Instal·lació](https://ca-valencia.wordpress.org/plugins/o3-cli-services/#installation)
 * [Desenvolupament](https://ca-valencia.wordpress.org/plugins/o3-cli-services/#developers)

 [Suport](https://wordpress.org/support/plugin/o3-cli-services/)

## Descripció

In its current version, O3 CLI Services exposes two WordPress REST API endpoints

to empower developers and QA engineers to query URL paths of WordPress posts by 
post types, category types, and menus.

### Usage

Use the /wp-json/o3-cli-api/url-sources API endpoint to get a list of sources of

URL paths, and use the /wp-json/o3-cli-api/urls API to get a list of URL paths of
posts in the system, using your sources as URL query parameter filters.

Source filters for /wp-json/o3-cli-api/urls:
 – post_types – Include a comma-separated
list of post type machine names. – categories – Include a comma-separated list of
category slugs. – menus – Include a comma-separated list of menu slugs. – limit –
Include an integer limit to control the maximum number of URL paths to return for
each machine name in any source.

An example request:

GET http://example.com/wp-json/o3-cli-api/urls?post_types=post,product&categories
=food,travel&menus=main-navigation,footer-menu&limit=50

The above example requests the URL paths of posts of post types with the machine

names of ‘post’ and ‘product’, having categories with ‘food’ and ‘travel’ slugs,
as well as items in menus with ‘main-navigation’ and ‘footer-menu’ slugs. As with
any WordPress REST API endpoints, the above request returns a JSON array.

The O3 CLI automatically generates requests like the above, and it empowers
 developers
and QA engineers to dynamically generate visual regression tests, among other needs.
See the documentation at https://www.npmjs.com/package/o3-cli.

## Instal·lació

Upload the O3 CLI Services plugin to your blog, or download it to the
 your-project-
folder/wp-content/plugins folder. Then, activate it on the Plugins page.

## Ressenyes

No hi ha ressenyes per a este complement.

## Col·laboradors i desenvolupadors

«O3 CLI Services» és programari de codi obert. La següent gent ha col·laborat en
este complement.

Col·laboradors

 *   [ o3world ](https://profiles.wordpress.org/o3world/)
 *   [ Matt Schaff ](https://profiles.wordpress.org/gwolfman/)

[Traduïx «O3 CLI Services» a la teua llengua.](https://translate.wordpress.org/projects/wp-plugins/o3-cli-services)

### T’interessa el desenvolupament?

[Revisa el codi](https://plugins.trac.wordpress.org/browser/o3-cli-services/) , 
dona una ullada al [repositori SVN](https://plugins.svn.wordpress.org/o3-cli-services/)
o subscriu-te al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/o3-cli-services/)
per [RSS](https://plugins.trac.wordpress.org/log/o3-cli-services/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.0.2

_Release Date – 19 December 2019_

 * Fixed release naming

#### 1.0.1

_Release Date – 19 December 2019_

 * Fixed release naming

#### 1.0.0

_Release Date – 19 December 2019_

 * Initial release

## Meta

 *  Versió **1.0.2**
 *  Última actualització **fa 7 anys**
 *  Instal·lacions actives: **Menys de 10**
 *  Versió de WordPress: ** 4.0 o posterior **
 *  Provat fins a **5.3.25**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/o3-cli-services/)
 * Etiquetes
 * [automation](https://ca-valencia.wordpress.org/plugins/tags/automation/)[quality assurance](https://ca-valencia.wordpress.org/plugins/tags/quality-assurance/)
   [testing](https://ca-valencia.wordpress.org/plugins/tags/testing/)
 *  [Vista avançada](https://ca-valencia.wordpress.org/plugins/o3-cli-services/advanced/)

## Valoracions

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/o3-cli-services/reviews/#new-post)

[Vore totes les ressenyes](https://wordpress.org/support/plugin/o3-cli-services/reviews/)

## Col·laboradors

 *   [ o3world ](https://profiles.wordpress.org/o3world/)
 *   [ Matt Schaff ](https://profiles.wordpress.org/gwolfman/)

## Suport

Tens alguna cosa a dir? Necessites ajuda?

 [Vore els fòrums de suport](https://wordpress.org/support/plugin/o3-cli-services/)