Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WordPress.com REST API — wp/v2 namespace Wp Pattern…

8 actions 8 updates phrasing extends openapi/automattic-wp-pattern-category-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Automattic's API. It is a proposal applied on top of the contract, not a document Automattic publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category'].get
$.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category'].post
$.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].put
$.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].post
$.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].delete
$.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].patch

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for WordPress.com REST API — wp/v2 namespace Wp Pattern…
  version: 1.0.0
extends: openapi/automattic-wp-pattern-category-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-12-02'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category'].get
  update:
    x-apievangelist-phrasing:
      intent: List pattern categories on a site
      effect: read
      questions:
      - What pattern categories are defined on my WordPress.com site?
      - Can I list pattern categories for a single site?
      instructions:
      - text: List pattern categories on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show pattern categories on site {wpcom_site} matching {search}.
        slots:
          wpcom_site: path.wpcom_site
          search: query.search
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a pattern category
      effect: write
      questions:
      - How do I create a new pattern category on my site?
      - Can I give a new pattern category a slug and description?
      instructions:
      - text: Create pattern category {name} on site {wpcom_site}.
        slots:
          name: requestBody.name
          wpcom_site: path.wpcom_site
      - text: Add pattern category {name} with slug {slug} to site {wpcom_site}.
        slots:
          name: requestBody.name
          slug: requestBody.slug
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a pattern category
      effect: read
      questions:
      - What name and slug does a pattern category have?
      - Can I fetch one pattern category by ID?
      instructions:
      - text: Get pattern category {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show the name of pattern category {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a pattern category
      effect: write
      questions:
      - How do I overwrite a pattern category's name and slug?
      - Can I replace a pattern category in full?
      instructions:
      - text: Replace pattern category {id} on site {wpcom_site} with name {name}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          name: requestBody.name
      - text: Overwrite pattern category {id} on site {wpcom_site} with slug {slug}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          slug: requestBody.slug
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a pattern category
      effect: write
      questions:
      - How do I create a new category for block patterns on my site?
      - Can I set a slug and description when creating a pattern category?
      instructions:
      - text: Create pattern category {id} on site {wpcom_site} named {name}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          name: requestBody.name
      - text: Create pattern category {id} on site {wpcom_site} with slug {slug} and description {description}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          slug: requestBody.slug
          description: requestBody.description
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a pattern category
      effect: destructive
      questions:
      - How do I delete a pattern category from my site?
      - Why does deleting a pattern category require force set to true?
      instructions:
      - text: Delete pattern category {id} from site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Remove pattern category {id} on site {wpcom_site} with force {force}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          force: query.force
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/wp_pattern_category/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a pattern category
      effect: write
      questions:
      - Can I rename an existing pattern category?
      - How do I change just the slug of a pattern category?
      instructions:
      - text: Rename pattern category {id} on site {wpcom_site} to {name}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          name: requestBody.name
      - text: Change the slug of pattern category {id} on site {wpcom_site} to {slug}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          slug: requestBody.slug
      method: generated
      generated: '2026-12-02'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/automattic-wp-pattern-category-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.