Automattic · OpenAPI Overlay 1.0.0

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

14 actions 14 updates phrasing extends openapi/automattic-pages-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}/pages'].get
$.paths['/wp/v2/sites/{wpcom_site}/pages'].post
$.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].put
$.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].post
$.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].delete
$.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].patch
$.paths['/wp/v2/sites/{wpcom_site}/pages/{id}/autosaves'].get
$.paths['/wp/v2/sites/{wpcom_site}/pages/{id}/autosaves'].post
$.paths['/wp/v2/sites/{wpcom_site}/pages/{parent}/autosaves/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/pages/{parent}/revisions'].get
$.paths['/wp/v2/sites/{wpcom_site}/pages/{parent}/revisions/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/pages/{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 Pages API
  version: 1.0.0
extends: openapi/automattic-pages-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}/pages'].get
  update:
    x-apievangelist-phrasing:
      intent: List pages on a site
      effect: read
      questions:
      - What pages are published on my WordPress.com site?
      - Can I list only the pages with a certain status?
      instructions:
      - text: List pages on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show {status} pages on site {wpcom_site}.
        slots:
          status: query.status
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a page on a site
      effect: write
      questions:
      - How do I create a new page on my WordPress.com site?
      - Can I set the parent and status when creating a page?
      instructions:
      - text: Create a page titled {title} on site {wpcom_site}.
        slots:
          title: requestBody.title
          wpcom_site: path.wpcom_site
      - text: Create page {title} on site {wpcom_site} under parent {parent} with status {status}.
        slots:
          title: requestBody.title
          wpcom_site: path.wpcom_site
          parent: requestBody.parent
          status: requestBody.status
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a page on a site
      effect: read
      questions:
      - What is the content of a specific page on my site?
      - Can I fetch a page by its slug?
      instructions:
      - text: Get page {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show page {id} on site {wpcom_site} with password {password}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          password: query.password
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a page on a site
      effect: write
      questions:
      - How do I overwrite an existing page's content?
      - Can I change the author and excerpt of a page in one call?
      instructions:
      - text: Replace page {id} on site {wpcom_site} with title {title} and content {content}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
          content: requestBody.content
      - text: Overwrite page {id} on site {wpcom_site} with excerpt {excerpt} and status {status}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          excerpt: requestBody.excerpt
          status: requestBody.status
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Save a page as a draft on a site
      effect: write
      questions:
      - How do I save a page as a draft without publishing it?
      - Can I set the date a page was published when saving it as a draft?
      instructions:
      - text: Save page {id} on site {wpcom_site} as a draft.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Save page {id} on site {wpcom_site} as a draft with status {status} and date {date}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          status: requestBody.status
          date: requestBody.date
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a page on a site
      effect: destructive
      questions:
      - How do I permanently delete a page from my site?
      - Can I force-delete a page that is in the trash?
      instructions:
      - text: Delete page {id} from site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Force-delete page {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}/pages/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a page on a site
      effect: write
      questions:
      - How do I change just the title of an existing page?
      - Can I publish a page by updating its status?
      instructions:
      - text: Update page {id} on site {wpcom_site} to have title {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      - text: Set the status of page {id} on 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}/pages/{id}/autosaves'].get
  update:
    x-apievangelist-phrasing:
      intent: List autosaves of a page
      effect: read
      questions:
      - What autosaves exist for a page I'm editing?
      - Can I see the autosave of a page by its parent?
      instructions:
      - text: List autosaves of page {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show autosaves of page {id} on site {wpcom_site} under parent {parent}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          parent: query.parent
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages/{id}/autosaves'].post
  update:
    x-apievangelist-phrasing:
      intent: Save an autosave of a page
      effect: write
      questions:
      - How do I save an autosave of a page I'm editing?
      - Can I set the author and featured image on an autosave?
      instructions:
      - text: Save an autosave of page {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Save autosave of page {id} on site {wpcom_site} with author {author} and image {featured_media}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          author: requestBody.author
          featured_media: requestBody.featured_media
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages/{parent}/autosaves/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an autosave of a page
      effect: read
      questions:
      - What did an autosave of my page contain?
      - Can I fetch a single autosave by its ID?
      instructions:
      - text: Get autosave {id} of page {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show autosave {id} of page {parent} on 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}/pages/{parent}/revisions'].get
  update:
    x-apievangelist-phrasing:
      intent: List a page's revisions
      effect: read
      questions:
      - How do I see every draft revision of a page on a site?
      - Can I search a page's revisions by their IDs?
      instructions:
      - text: List revisions of page {parent} on site {wpcom_site}.
        slots:
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Find revisions of page {parent} on site {wpcom_site} matching {search}.
        slots:
          parent: path.parent
          wpcom_site: path.wpcom_site
          search: query.search
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages/{parent}/revisions/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a revision of a page
      effect: read
      questions:
      - What does a specific revision of my page look like?
      - Can I fetch one page revision by its ID?
      instructions:
      - text: Get revision {id} of page {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show page {parent} revision {id} on site {wpcom_site}.
        slots:
          parent: path.parent
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/pages/{parent}/revisions/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a page revision
      effect: destructive
      questions:
      - How do I delete an old revision of a page?
      - Do I have to force-delete a revision?
      instructions:
      - text: Delete revision {id} of page {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Permanently remove page revision {id} on {wpcom_site} (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-pages-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.