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.
# 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 Block Types API
version: 1.0.0
extends: openapi/automattic-block-types-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: 3
- target: $.paths['/wp/v2/sites/{wpcom_site}/block-types'].get
update:
x-apievangelist-phrasing:
intent: List block types on a site
effect: read
questions:
- Which block types are registered on my WordPress.com site?
- Can I list only the block types from one namespace?
instructions:
- text: List block types on site {wpcom_site}.
slots:
wpcom_site: path.wpcom_site
- text: List block types from namespace {namespace} on site {wpcom_site}.
slots:
namespace: query.namespace
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/block-types/{namespace}'].get
update:
x-apievangelist-phrasing:
intent: Get a block type by namespace
effect: read
questions:
- What does a single block type registered on my site look like?
- Can I fetch one block type by its namespace?
instructions:
- text: Get block type {namespace} on site {wpcom_site}.
slots:
namespace: path.namespace
wpcom_site: path.wpcom_site
- text: Show the {namespace} block type registered on {wpcom_site}.
slots:
namespace: path.namespace
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/block-types/{namespace}/{name}'].get
update:
x-apievangelist-phrasing:
intent: Get a block type by namespace and name
effect: read
questions:
- Can I fetch a specific block type by its namespace and name?
- What are the settings of one registered block type?
instructions:
- text: Get block type {name} in namespace {namespace} on site {wpcom_site}.
slots:
name: path.name
namespace: path.namespace
wpcom_site: path.wpcom_site
- text: Show the {name} block type from {namespace} on {wpcom_site}.
slots:
name: path.name
namespace: path.namespace
wpcom_site: path.wpcom_site
method: generated
generated: '2026-12-02'
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.