Automattic · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for WordPress.com REST API — wp/v2 namespace Blocks API
14 actions
14 updates
phrasing
extends
openapi/automattic-blocks-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.
What the actions change
x-apievangelist-phrasing
Targets 14
$.info
$.paths['/wp/v2/sites/{wpcom_site}/blocks'].get
$.paths['/wp/v2/sites/{wpcom_site}/blocks'].post
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}'].put
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}'].post
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}'].delete
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}'].patch
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}/autosaves'].get
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}/autosaves'].post
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{parent}/autosaves/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{parent}/revisions'].get
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{parent}/revisions/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/blocks/{parent}/revisions/{id}'].delete
OpenAPI Overlay
# 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 Blocks API
version: 1.0.0
extends: openapi/automattic-blocks-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}/blocks'].get
update:
x-apievangelist-phrasing:
intent: List reusable site blocks
effect: read
questions:
- What reusable blocks are available on my site?
- Can I search site blocks by category?
instructions:
- text: List reusable blocks on site {wpcom_site}.
slots:
wpcom_site: path.wpcom_site
- text: Find site {wpcom_site} blocks matching {search}.
slots:
wpcom_site: path.wpcom_site
search: query.search
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/blocks'].post
update:
x-apievangelist-phrasing:
intent: Create a reusable block
effect: write
questions:
- How do I save a reusable block on my site?
- Can I set the category of a new reusable block?
instructions:
- text: Create a reusable block on site {wpcom_site} titled {title}.
slots:
wpcom_site: path.wpcom_site
title: requestBody.title
- text: Save a new reusable block {title} on {wpcom_site} in category {wp_pattern_category}.
slots:
title: requestBody.title
wpcom_site: path.wpcom_site
wp_pattern_category: requestBody.wp_pattern_category
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a reusable block
effect: read
questions:
- How do I view one reusable block?
- Can I fetch a reusable block by slug?
instructions:
- text: Get reusable block {id} on site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Show reusable block {id} from {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}/blocks/{id}'].put
update:
x-apievangelist-phrasing:
intent: Replace a reusable block
effect: write
questions:
- How do I overwrite a reusable block's content?
- Can I change the category of an existing reusable block?
instructions:
- text: Replace reusable block {id} on site {wpcom_site} with content {content}.
slots:
id: path.id
wpcom_site: path.wpcom_site
content: requestBody.content
- text: Set reusable block {id} on {wpcom_site} to category {wp_pattern_category}.
slots:
id: path.id
wpcom_site: path.wpcom_site
wp_pattern_category: requestBody.wp_pattern_category
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}'].post
update:
x-apievangelist-phrasing:
intent: Duplicate a reusable block
effect: write
questions:
- How do I duplicate a reusable block?
- Can I copy a reusable block to another site?
instructions:
- text: Duplicate reusable block {id} on site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Copy reusable block {id} from {wpcom_site} as a new block.
slots:
id: path.id
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/blocks/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a reusable block
effect: destructive
questions:
- How do I permanently delete a reusable block?
- Can I force-delete a reusable block without trashing it?
instructions:
- text: Delete reusable block {id} from site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Force-delete reusable block {id} on {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}/blocks/{id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a reusable block
effect: write
questions:
- How do I change the title of a reusable block?
- Can I publish a reusable block by changing its status?
instructions:
- text: Change the title of reusable block {id} on site {wpcom_site} to {title}.
slots:
id: path.id
wpcom_site: path.wpcom_site
title: requestBody.title
- text: Set reusable block {id} on {wpcom_site} status 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}/blocks/{id}/autosaves'].get
update:
x-apievangelist-phrasing:
intent: List autosaves of a reusable block
effect: read
questions:
- What autosaves exist for a reusable block?
- Can I see the autosave history of a reusable block?
instructions:
- text: List autosaves of reusable block {id} on site {wpcom_site}.
slots:
id: path.id
wpcom_site: path.wpcom_site
- text: Show autosaves of reusable block {id} on {wpcom_site} older than {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}/blocks/{id}/autosaves'].post
update:
x-apievangelist-phrasing:
intent: Save an autosave of a reusable block
effect: write
questions:
- How do I save an autosave of a reusable block?
- Can I create a new autosave of a reusable block?
instructions:
- text: Save an autosave of reusable block {id} on site {wpcom_site} titled {title}.
slots:
id: path.id
wpcom_site: path.wpcom_site
title: requestBody.title
- text: Create a new autosave of reusable block {id} on {wpcom_site} with content {content}.
slots:
id: path.id
wpcom_site: path.wpcom_site
content: requestBody.content
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/blocks/{parent}/autosaves/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get an autosave of a reusable block
effect: read
questions:
- How do I fetch one autosave of a reusable block?
- Can I read a specific autosave of a reusable block?
instructions:
- text: Get autosave {id} of reusable block {parent} on site {wpcom_site}.
slots:
id: path.id
parent: path.parent
wpcom_site: path.wpcom_site
- text: Show reusable block {parent} autosave {id} from {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}/blocks/{parent}/revisions'].get
update:
x-apievangelist-phrasing:
intent: List revisions of a reusable block
effect: read
questions:
- What revisions have been made to a reusable block?
- Can I page through a reusable block's revision history?
instructions:
- text: List revisions of reusable block {parent} on site {wpcom_site}.
slots:
parent: path.parent
wpcom_site: path.wpcom_site
- text: Show {per_page} revisions of reusable block {parent} on {wpcom_site}.
slots:
per_page: query.per_page
parent: path.parent
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/blocks/{parent}/revisions/{id}'].get
update:
x-apievangelist-phrasing:
intent: Get a revision of a reusable block
effect: read
questions:
- How do I view one revision of a reusable block?
- Can I read a specific revision of a reusable block?
instructions:
- text: Get revision {id} of reusable block {parent} on site {wpcom_site}.
slots:
id: path.id
parent: path.parent
wpcom_site: path.wpcom_site
- text: Show reusable block {parent} revision {id} from {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}/blocks/{parent}/revisions/{id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a block revision
effect: destructive
questions:
- How do I permanently remove a revision of a block on my site?
- Can a block revision be trash or force deleted?
instructions:
- text: Delete revision {id} of block {parent} on site {wpcom_site}.
slots:
id: path.id
parent: path.parent
wpcom_site: path.wpcom_site
- text: Permanently remove block revision {id} of {parent} on site {wpcom_site} with force {force}.
slots:
id: path.id
parent: path.parent
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/automattic-blocks-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.