Automattic · OpenAPI Overlay 1.0.0

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

14 actions 14 updates phrasing extends openapi/automattic-navigation-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 14

$.info
$.paths['/wp/v2/sites/{wpcom_site}/navigation'].get
$.paths['/wp/v2/sites/{wpcom_site}/navigation'].post
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}'].put
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}'].post
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}'].delete
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}'].patch
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}/autosaves'].get
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}/autosaves'].post
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{parent}/autosaves/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{parent}/revisions'].get
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{parent}/revisions/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/navigation/{parent}/revisions/{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 — wp/v2 namespace Navigation API
  version: 1.0.0
extends: openapi/automattic-navigation-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}/navigation'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's navigation menu items
      effect: read
      questions:
      - What menu items are in my site's navigation?
      - Can I search a site's navigation menu for a link?
      instructions:
      - text: List navigation menu items for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Find navigation items on {wpcom_site} matching {search}.
        slots:
          wpcom_site: path.wpcom_site
          search: query.search
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/navigation'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a navigation menu item
      effect: write
      questions:
      - How do I add a new link to my site's navigation menu?
      - Can I set the slug and status of a new navigation item?
      instructions:
      - text: Create a navigation item titled {title} on site {wpcom_site}.
        slots:
          title: requestBody.title
          wpcom_site: path.wpcom_site
      - text: Add a {status} navigation link {title} with slug {slug} to {wpcom_site}.
        slots:
          status: requestBody.status
          title: requestBody.title
          slug: requestBody.slug
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a navigation menu
      effect: read
      questions:
      - How do I retrieve a menu I created for a site?
      - Can I fetch a navigation menu by its ID?
      instructions:
      - text: Get navigation menu {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Fetch menu {id} from {wpcom_site}'s navigation.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a navigation menu item
      effect: write
      questions:
      - How do I overwrite an existing navigation item completely?
      - Can I change the title and content of a menu link in one request?
      instructions:
      - text: Replace navigation item {id} on site {wpcom_site} with title {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      - text: Overwrite the whole {status} navigation link {id} on {wpcom_site}.
        slots:
          status: requestBody.status
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a navigation item by ID
      effect: write
      questions:
      - Can I create a navigation item by explicitly naming its ID?
      - What happens if I post a new menu item with an ID that already exists?
      instructions:
      - text: Create a navigation item with ID {id} titled {title} on site {wpcom_site}.
        slots:
          id: path.id
          title: requestBody.title
          wpcom_site: path.wpcom_site
      - text: Create a navigation item {id} on {wpcom_site} with status {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}/navigation/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a navigation menu item
      effect: destructive
      questions:
      - How do I remove a link from my site's navigation?
      - Can I force-delete a navigation item instead of trashing it?
      instructions:
      - text: Delete navigation item {id} from site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Force-remove navigation link {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}/navigation/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a navigation menu item
      effect: write
      questions:
      - Can I change just the title of a navigation item without resending the rest?
      - How do I edit a single field of a menu link?
      instructions:
      - text: Update navigation item {id} on site {wpcom_site} to title {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      - text: Change the slug of navigation link {id} on {wpcom_site} to {slug}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          slug: requestBody.slug
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/navigation/{id}/autosaves'].get
  update:
    x-apievangelist-phrasing:
      intent: List autosaves of a navigation item
      effect: read
      questions:
      - What autosaved versions exist for a navigation item?
      - Can I see the autosave history of a menu link?
      instructions:
      - text: List autosaves of navigation item {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show autosaves of menu link {id} for {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}/navigation/{id}/autosaves'].post
  update:
    x-apievangelist-phrasing:
      intent: Save an autosave of a navigation item
      effect: write
      questions:
      - How do I save a draft of a navigation item without publishing it?
      - Can I create an autosave of a menu link with its own slug?
      instructions:
      - text: Autosave navigation item {id} on site {wpcom_site} as {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      - text: Save a draft of menu link {id} for {wpcom_site} with slug {slug}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          slug: requestBody.slug
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/navigation/{parent}/autosaves/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an autosaved navigation menu
      effect: read
      questions:
      - How do I read an autosaved menu draft for a navigation menu?
      - Can I fetch an autosave of a navigation menu by its ID?
      instructions:
      - text: Get autosaved menu {id} for navigation {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Fetch the autosave of menu {id} under navigation {parent} on {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/navigation/{parent}/revisions'].get
  update:
    x-apievangelist-phrasing:
      intent: List revisions of a navigation item
      effect: read
      questions:
      - Which revisions exist for a navigation item?
      - Can I page through the edit history of a menu link?
      instructions:
      - text: List revisions of navigation item {parent} on site {wpcom_site}.
        slots:
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show {per_page} revisions of menu link {parent} for {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}/navigation/{parent}/revisions/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a navigation menu revision
      effect: read
      questions:
      - How do I read an older version of a navigation menu?
      - Can I fetch one revision of a navigation menu by its ID?
      instructions:
      - text: Get revision {id} of navigation {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Fetch navigation menu revision {id} under {parent} for {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/navigation/{parent}/revisions/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a revision of a navigation item
      effect: destructive
      questions:
      - How do I permanently remove a revision of a navigation item?
      - Can I force-delete a menu link revision?
      instructions:
      - text: Delete revision {id} of navigation item {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Force-remove revision {id} of menu link {parent} for {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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/automattic-navigation-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.