WordPress · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for WordPress REST Posts API

6 actions 6 updates phrasing extends openapi/wordpress-posts-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for WordPress's API. It is a proposal applied on top of the contract, not a document WordPress publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/wp/v2/posts'].get
$.paths['/wp/v2/posts'].post
$.paths['/wp/v2/posts/{id}'].get
$.paths['/wp/v2/posts/{id}'].put
$.paths['/wp/v2/posts/{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 REST Posts API
  version: 1.0.0
extends: openapi/wordpress-posts-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-16'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/wp/v2/posts'].get
  update:
    x-apievangelist-phrasing:
      intent: List posts on the site
      effect: read
      questions:
      - How do I list all the posts on my WordPress site?
      - Can I list only published posts or posts by a single author?
      - Is it possible to search posts by keyword and page through them?
      instructions:
      - text: List all posts on the site.
      - text: Find posts by author {author} with status {status}.
        slots:
          author: query.author
          status: query.status
      - text: Search posts for {search}, {per_page} per page.
        slots:
          search: query.search
          per_page: query.per_page
      method: generated
      generated: '2026-11-16'
- target: $.paths['/wp/v2/posts'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a new post
      effect: write
      questions:
      - How do I create a new blog post through the REST API?
      - Can I set the author, categories and tags when creating a post?
      instructions:
      - text: Create a post titled {title} with content {content}.
        slots:
          title: requestBody.title
          content: requestBody.content
      - text: Create a {status} post titled {title} by author {author}.
        slots:
          status: requestBody.status
          title: requestBody.title
          author: requestBody.author
      method: generated
      generated: '2026-11-16'
- target: $.paths['/wp/v2/posts/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a single post
      effect: read
      questions:
      - How do I fetch one post by its ID?
      - Can I read a single post in the context of its featured media?
      instructions:
      - text: Get post {id}.
        slots:
          id: path.id
      - text: Show post {id} with context {context}.
        slots:
          id: path.id
          context: query.context
      method: generated
      generated: '2026-11-16'
- target: $.paths['/wp/v2/posts/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an existing post
      effect: write
      questions:
      - How do I edit an existing post's title or content?
      - Can I change the status of a post I already published?
      instructions:
      - text: Update post {id} to have title {title} and content {content}.
        slots:
          id: path.id
          title: requestBody.title
          content: requestBody.content
      - text: Set the status of post {id} to {status}.
        slots:
          id: path.id
          status: requestBody.status
      method: generated
      generated: '2026-11-16'
- target: $.paths['/wp/v2/posts/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a post
      effect: destructive
      questions:
      - How do I delete a post from my site?
      - Can I force-delete a post instead of trashing it?
      instructions:
      - text: Delete post {id}.
        slots:
          id: path.id
      - text: Force-delete post {id} with force {force}.
        slots:
          id: path.id
          force: query.force
      method: generated
      generated: '2026-11-16'

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/wordpress-posts-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.