Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WordPress.com REST API — wp/v2 namespace Guidelines API

14 actions 14 updates phrasing extends openapi/automattic-guidelines-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 14

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

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 Guidelines API
  version: 1.0.0
extends: openapi/automattic-guidelines-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: 13
- target: $.paths['/wp/v2/sites/{wpcom_site}/guidelines'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's guidelines
      effect: read
      questions:
      - What guidelines apply to a site on WordPress.com?
      - Can I list only the guidelines of one site type?
      instructions:
      - text: List the guidelines for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show site {wpcom_site}'s guidelines of type {wp_guideline_type}.
        slots:
          wpcom_site: path.wpcom_site
          wp_guideline_type: query.wp_guideline_type
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/guidelines'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a guideline
      effect: write
      questions:
      - How do I create a new guideline for a site?
      - Can I set the guideline type when creating it?
      instructions:
      - text: Create a guideline titled {title} on site {wpcom_site}.
        slots:
          title: requestBody.title
          wpcom_site: path.wpcom_site
      - text: Add a guideline {title} of type {wp_guideline_type} to site {wpcom_site}.
        slots:
          title: requestBody.title
          wp_guideline_type: requestBody.wp_guideline_type
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/guidelines/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a guideline
      effect: read
      questions:
      - What does a specific guideline say?
      - Can I read one guideline by its ID?
      instructions:
      - text: Get guideline {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show the content of guideline {id} for 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}/guidelines/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a guideline
      effect: write
      questions:
      - How do I overwrite a guideline's content?
      - Can I replace a guideline in full?
      instructions:
      - text: Replace guideline {id} on site {wpcom_site} with {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      - text: Overwrite the whole guideline {id} for 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}/guidelines/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Duplicate a guideline
      effect: write
      questions:
      - Can I duplicate an existing guideline as a new one?
      - What happens when I POST to a guideline's duplicate endpoint?
      instructions:
      - text: Duplicate guideline {id} on site {wpcom_site} as a new guideline.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Make a copy of guideline {id} for 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}/guidelines/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a guideline
      effect: destructive
      questions:
      - How do I delete a guideline from a site?
      - Can I force-delete a guideline instead of trashing it?
      instructions:
      - text: Delete guideline {id} from site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Force-delete guideline {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}/guidelines/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a guideline
      effect: write
      questions:
      - How do I change just the title of a guideline?
      - Can I edit a guideline's status without resending the rest?
      instructions:
      - text: Change the title of guideline {id} on site {wpcom_site} to {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      - text: Set the status of guideline {id} for site {wpcom_site} to {status}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          status: requestBody.status
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/guidelines/{id}/autosaves'].get
  update:
    x-apievangelist-phrasing:
      intent: List a guideline's autosaves
      effect: read
      questions:
      - What autosaves exist for a guideline?
      - Can I see the autosaved drafts of a guideline?
      instructions:
      - text: List autosaves of guideline {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show the autosaved drafts for guideline {id} of 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}/guidelines/{id}/autosaves'].post
  update:
    x-apievangelist-phrasing:
      intent: Save a guideline draft
      effect: write
      questions:
      - How do I save a draft of a guideline?
      - Can I create an autosave of a guideline?
      instructions:
      - text: Save a draft of guideline {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Create an autosave of guideline {id} for 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}/guidelines/{parent}/autosaves/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one revision of a guideline
      effect: read
      questions:
      - Can I fetch a single auto-saved revision of a site guideline by its parent and revision ID?
      - What does the older auto-save revision of a guideline record contain?
      instructions:
      - text: Get revision {id} of guideline {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show auto-saved revision {id} of guideline {parent} for site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/guidelines/{parent}/revisions'].get
  update:
    x-apievangelist-phrasing:
      intent: List a guideline's revisions
      effect: read
      questions:
      - What revisions exist for a guideline?
      - Can I list the revision history of a guideline?
      instructions:
      - text: List revisions of guideline {parent} on site {wpcom_site}.
        slots:
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show the revision history of guideline {parent} for site {wpcom_site}.
        slots:
          parent: path.parent
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/guidelines/{parent}/revisions/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one stored revision of a guideline
      effect: read
      questions:
      - Can I pull a full saved revision of a site guideline after it was published?
      - Is there a way to fetch a guideline's previous stored revision by revision ID?
      instructions:
      - text: Fetch the saved history entry {id} for guideline {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show the stored revision {id} of guideline {parent} for {wpcom_site} using context {context}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
          context: query.context
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/guidelines/{parent}/revisions/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a guideline revision
      effect: destructive
      questions:
      - How do I delete an old revision of a guideline?
      - Do revisions support trashing or must force be true?
      instructions:
      - text: Delete revision {id} of guideline {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Force-delete guideline revision {id} for site {wpcom_site} with force {force}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          force: query.force
      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-guidelines-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.