Automattic · OpenAPI Overlay 1.0.0

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

11 actions 11 updates phrasing extends openapi/automattic-menu-items-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 11

$.info
$.paths['/wp/v2/sites/{wpcom_site}/menu-items'].get
$.paths['/wp/v2/sites/{wpcom_site}/menu-items'].post
$.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].put
$.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].post
$.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].delete
$.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].patch
$.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}/autosaves'].get
$.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}/autosaves'].post
$.paths['/wp/v2/sites/{wpcom_site}/menu-items/{parent}/autosaves/{id}'].get

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 Menu Items API
  version: 1.0.0
extends: openapi/automattic-menu-items-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: 10
- target: $.paths['/wp/v2/sites/{wpcom_site}/menu-items'].get
  update:
    x-apievangelist-phrasing:
      intent: List menu items on a site
      effect: read
      questions:
      - How do I list the navigation menu items on my WordPress.com site?
      - Can I filter a site's menu items by menu or menu order?
      instructions:
      - text: List menu items on site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show menu items on {wpcom_site} assigned to menu {menus}.
        slots:
          wpcom_site: path.wpcom_site
          menus: query.menus
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/menu-items'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a menu item to a site
      effect: write
      questions:
      - How do I add a link to my navigation menu?
      - Can I set the URL and menu order of a new menu item?
      instructions:
      - text: Add a menu item titled {title} pointing to {url} on site {wpcom_site}.
        slots:
          title: requestBody.title
          url: requestBody.url
          wpcom_site: path.wpcom_site
      - text: Create a new menu item on {wpcom_site} with menu order {menu_order}.
        slots:
          wpcom_site: path.wpcom_site
          menu_order: requestBody.menu_order
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a menu item
      effect: read
      questions:
      - How do I read one navigation menu item?
      - What URL and classes does a specific menu item have?
      instructions:
      - text: Get menu item {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show the URL and classes of menu item {id} on {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a menu item
      effect: write
      questions:
      - How do I overwrite a menu item's URL and classes?
      - Can I replace a menu item with a new object and menu order?
      instructions:
      - text: Replace menu item {id} on site {wpcom_site} with URL {url} and classes {classes}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          url: requestBody.url
          classes: requestBody.classes
      - text: Overwrite menu item {id} on {wpcom_site} with object {object} and menu order {menu_order}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          object: requestBody.object
          menu_order: requestBody.menu_order
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a menu item
      effect: write
      questions:
      - Can I change the title or URL of a menu item?
      - Which menu items can a menu item be nested under?
      instructions:
      - text: Set the title of menu item {id} on site {wpcom_site} to {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      - text: Move menu item {id} on site {wpcom_site} under parent {parent}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          parent: requestBody.parent
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a menu item
      effect: destructive
      questions:
      - Can I permanently remove a menu item from my site?
      - What does the force flag do when deleting a menu item?
      instructions:
      - text: Delete menu item {id} from site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Permanently remove menu item {id} from site {wpcom_site} with force set to {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}/menu-items/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a menu item
      effect: write
      questions:
      - How do I change the URL of an existing menu item?
      - Can I reorder a single menu item without touching the others?
      instructions:
      - text: Change the URL of menu item {id} on site {wpcom_site} to {url}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          url: requestBody.url
      - text: Move menu item {id} on {wpcom_site} to menu order {menu_order}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          menu_order: requestBody.menu_order
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/menu-items/{id}/autosaves'].get
  update:
    x-apievangelist-phrasing:
      intent: List autosaves of a menu item
      effect: read
      questions:
      - How do I see the autosaved versions of a menu item?
      - Can I list only the autosaves of a menu item on a parent?
      instructions:
      - text: List autosaves of menu item {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show autosaves of menu item {id} on {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}/menu-items/{id}/autosaves'].post
  update:
    x-apievangelist-phrasing:
      intent: Save an autosave of a menu item
      effect: write
      questions:
      - How do I save an autosave of a menu item?
      - Can I create a new autosave of a menu item with a different URL?
      instructions:
      - text: Save an autosave of menu item {id} on site {wpcom_site} with URL {url}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          url: requestBody.url
      - text: Create a new autosave of menu item {id} on {wpcom_site} titled {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/menu-items/{parent}/autosaves/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an autosave of a menu item
      effect: read
      questions:
      - How do I read one autosaved version of a menu item?
      - What does a specific autosave of a menu item contain?
      instructions:
      - text: Get autosave {id} of menu item {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show the URL saved in autosave {id} of menu item {parent} on {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          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-menu-items-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.