Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WordPress.com REST API — wpcom/v2 namespace Staging Site API

9 actions 9 updates phrasing extends openapi/automattic-staging-site-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 9

$.info
$.paths['/wpcom/v2/sites/{wpcom_site}/staging-site'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/staging-site'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/production-site-details'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/pull-from-staging/{staging_site_id}'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/push-to-staging/{staging_site_id}'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/sync-state'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/validate-quota'].post
$.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/{staging_site_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 — wpcom/v2 namespace Staging Site API
  version: 1.0.0
extends: openapi/automattic-staging-site-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: 8
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/staging-site'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a site's staging site
      effect: read
      questions:
      - Does my site have a staging site set up?
      - What is the staging site ID for my site?
      instructions:
      - text: Show the staging site for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Get staging site details for {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/staging-site'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a staging site
      effect: write
      questions:
      - How do I spin up a staging site for my site?
      - Can I create a staging site on demand?
      instructions:
      - text: Create a staging site for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Spin up a new staging site on {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/production-site-details'].get
  update:
    x-apievangelist-phrasing:
      intent: Get staging site production details
      effect: read
      questions:
      - What does my production site look like from the staging site?
      - Can I see production site details from staging?
      instructions:
      - text: Show production site details as seen from the staging site of {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Get staging site production details for {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/pull-from-staging/{staging_site_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Pull production changes into a staging site
      effect: write
      questions:
      - How do I pull production changes into a staging site?
      - Can I sync a staging site with production?
      instructions:
      - text: Pull production changes into staging site {staging_site_id} of {wpcom_site}.
        slots:
          staging_site_id: path.staging_site_id
          wpcom_site: path.wpcom_site
      - text: Sync staging site {staging_site_id} on {wpcom_site} with production.
        slots:
          staging_site_id: path.staging_site_id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/push-to-staging/{staging_site_id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Push staging changes to production
      effect: write
      questions:
      - How do I push changes from staging to production?
      - Can I push a staging site's changes to production?
      instructions:
      - text: Push staging site {staging_site_id} of {wpcom_site} to production.
        slots:
          staging_site_id: path.staging_site_id
          wpcom_site: path.wpcom_site
      - text: Deploy staging site {staging_site_id} on {wpcom_site} to production.
        slots:
          staging_site_id: path.staging_site_id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/sync-state'].get
  update:
    x-apievangelist-phrasing:
      intent: Check staging site sync state
      effect: read
      questions:
      - Is my staging site in sync with production?
      - What is the staging site sync state for my site?
      instructions:
      - text: Show the staging site sync state for {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Check whether staging site on {wpcom_site} is synced.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/validate-quota'].post
  update:
    x-apievangelist-phrasing:
      intent: Check staging site quota
      effect: read
      questions:
      - Do I have enough staging site quota?
      - Can I validate staging site quota before creating one?
      instructions:
      - text: Validate staging site quota for {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Check how many staging sites I can still create on {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/staging-site/{staging_site_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a staging site
      effect: destructive
      questions:
      - How do I delete a staging site?
      - Can I remove a staging site I no longer need?
      instructions:
      - text: Delete staging site {staging_site_id} from {wpcom_site}.
        slots:
          staging_site_id: path.staging_site_id
          wpcom_site: path.wpcom_site
      - text: Remove staging site {staging_site_id} on {wpcom_site}.
        slots:
          staging_site_id: path.staging_site_id
          wpcom_site: path.wpcom_site
      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-staging-site-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.