Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Automattic Media API

27 actions 27 updates phrasing extends openapi/automattic-media-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 27 · first 16 shown; the file carries all of them

$.info
$.paths['/sites/{site}/media/'].get
$.paths['/sites/{site}/media/new'].post
$.paths['/sites/{site}/media/{media_ID}'].get
$.paths['/sites/{site}/media/{media_ID}'].post
$.paths['/sites/{site}/media/{media_ID}/delete'].post
$.paths['/sites/{site}/media/{media_ID}/edit'].post
$.paths['/wp/v2/sites/{wpcom_site}/media'].get
$.paths['/wp/v2/sites/{wpcom_site}/media'].post
$.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].put
$.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].post
$.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].delete
$.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].patch
$.paths['/wp/v2/sites/{wpcom_site}/media/{id}/edit'].post
$.paths['/wp/v2/sites/{wpcom_site}/media/{id}/finalize'].post

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 Automattic Media API
  version: 1.0.0
extends: openapi/automattic-media-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: 26
- target: $.paths['/sites/{site}/media/'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's media library
      effect: read
      questions:
      - How do I list all the images and files in a WordPress.com site's media library?
      - Can I search a site's media library by MIME type or by a keyword?
      - Which media items were uploaded after a certain date?
      instructions:
      - text: List the media items on site {site}.
        slots:
          site: path.site
      - text: Search site {site}'s media library for {search}.
        slots:
          site: path.site
          search: query.search
      - text: Show media items on {site} with MIME type {mime_type}.
        slots:
          site: path.site
          mime_type: query.mime_type
      method: generated
      generated: '2026-12-02'
- target: $.paths['/sites/{site}/media/new'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a new image or video
      effect: write
      questions:
      - How do I upload a photo to my WordPress site?
      - Can I upload media by URL and set its alt text?
      instructions:
      - text: Upload media {media} to site {site}.
        slots:
          media: requestBody.media
          site: path.site
      - text: 'Add these image URLs to site {site}: {media_urls}.'
        slots:
          site: path.site
          media_urls: requestBody.media_urls
      method: generated
      generated: '2026-12-02'
- target: $.paths['/sites/{site}/media/{media_ID}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a media item by ID
      effect: read
      questions:
      - How do I fetch one file from a site's media library by its ID?
      - What details are returned for a single media item?
      instructions:
      - text: Get media item {media_ID} on site {site}.
        slots:
          media_ID: path.media_ID
          site: path.site
      - text: Show the details of file {media_ID} in {site}'s media library.
        slots:
          media_ID: path.media_ID
          site: path.site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/sites/{site}/media/{media_ID}'].post
  update:
    x-apievangelist-phrasing:
      intent: Edit a media item's basic info
      effect: write
      questions:
      - How do I change the title, caption or alt text of an uploaded image?
      - Can I re-attach a media item to a different post?
      instructions:
      - text: Set the caption of media {media_ID} on {site} to {caption}.
        slots:
          media_ID: path.media_ID
          site: path.site
          caption: requestBody.caption
      - text: Move media {media_ID} on {site} to post {parent_id}.
        slots:
          media_ID: path.media_ID
          site: path.site
          parent_id: requestBody.parent_id
      - text: Rename uploaded file {media_ID} on {site} to {title}.
        slots:
          media_ID: path.media_ID
          site: path.site
          title: requestBody.title
      method: generated
      generated: '2026-12-02'
- target: $.paths['/sites/{site}/media/{media_ID}/delete'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete a media item
      effect: destructive
      questions:
      - How do I permanently delete a file from a site's media library?
      - Is there a trash for deleted media items?
      instructions:
      - text: Delete media item {media_ID} from site {site}.
        slots:
          media_ID: path.media_ID
          site: path.site
      - text: Permanently remove file {media_ID} on {site}'s media library.
        slots:
          media_ID: path.media_ID
          site: path.site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/sites/{site}/media/{media_ID}/edit'].post
  update:
    x-apievangelist-phrasing:
      intent: Edit a media item's details via its edit path
      effect: write
      questions:
      - Can I update the description or artist of an audio file in my media library?
      - What's the way to edit an uploaded file's metadata using the v1.1 edit endpoint?
      instructions:
      - text: Update the description of file {media_ID} on {site} to {description}.
        slots:
          media_ID: path.media_ID
          site: path.site
          description: requestBody.description
      - text: Set the artist of audio file {media_ID} on {site} to {artist} and the album to {album}.
        slots:
          media_ID: path.media_ID
          site: path.site
          artist: requestBody.artist
          album: requestBody.album
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media'].get
  update:
    x-apievangelist-phrasing:
      intent: List a site's media via the wp/v2 endpoint
      effect: read
      questions:
      - How do I list a WordPress.com site's media using the wp/v2 REST endpoint?
      - Can I filter a site's media by MIME type with the wp/v2 API?
      instructions:
      - text: List media on WordPress.com site {wpcom_site} via wp/v2.
        slots:
          wpcom_site: path.wpcom_site
      - text: Show {media_type} media on {wpcom_site} using the wp/v2 endpoint.
        slots:
          media_type: query.media_type
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload media to a site via wp/v2
      effect: write
      questions:
      - How do I upload a new image to a WordPress.com site using the wp/v2 endpoint?
      - Can I sideload an external image URL into a site's media library?
      instructions:
      - text: Upload {filename} to WordPress.com site {wpcom_site} via wp/v2.
        slots:
          filename: requestBody.filename
          wpcom_site: path.wpcom_site
      - text: Sideload {url} as a new media item on {wpcom_site} using wp/v2.
        slots:
          url: requestBody.url
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a media item via wp/v2
      effect: read
      questions:
      - How do I fetch a single media item from a WordPress.com site with the wp/v2 endpoint?
      - What does the wp/v2 media item detail call return?
      instructions:
      - text: Get media {id} on WordPress.com site {wpcom_site} via wp/v2.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show the wp/v2 details of file {id} in {wpcom_site}'s media library.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a media item via wp/v2
      effect: write
      questions:
      - How do I overwrite an existing media item on a WordPress.com site with a new file?
      - Can I change a media item's alt text through the wp/v2 endpoint?
      instructions:
      - text: Replace media {id} on {wpcom_site} with {filename}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          filename: requestBody.filename
      - text: Set the alt text of media {id} on {wpcom_site} to {alt_text}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          alt_text: requestBody.alt_text
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update a media item via wp/v2
      effect: write
      questions:
      - How do I change a media item's status or slug through the wp/v2 endpoint?
      - Can I edit a media item's attributes with a POST to its edit path?
      instructions:
      - text: Update media {id} on {wpcom_site} with status {status}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          status: requestBody.status
      - text: Set the slug of media {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}/media/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a media item via wp/v2
      effect: destructive
      questions:
      - How do I delete a media item from a WordPress.com site using the wp/v2 endpoint?
      - Can I force-delete a media item so it skips the trash?
      instructions:
      - text: Delete media {id} from WordPress.com site {wpcom_site} via wp/v2.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Force-delete file {id} on {wpcom_site} using wp/v2.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Patch a media item via wp/v2
      effect: write
      questions:
      - How do I change just the caption of a media item through the wp/v2 endpoint?
      - Can I partially update a media item's attributes with a PATCH request?
      instructions:
      - text: Patch media {id} on {wpcom_site} with caption {caption}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          caption: requestBody.caption
      - text: Patch media {id} on {wpcom_site} to 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}/media/{id}/edit'].post
  update:
    x-apievangelist-phrasing:
      intent: Edit an uploaded image via wp/v2
      effect: write
      questions:
      - How do I crop or rotate an image I already uploaded to a WordPress.com site?
      - Can I apply image modifiers to an existing media item through wp/v2?
      instructions:
      - text: Crop image {id} on {wpcom_site} from {x},{y} to {width} wide and {height} tall.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          x: requestBody.x
          y: requestBody.y
          width: requestBody.width
          height: requestBody.height
      - text: Rotate image {id} on {wpcom_site} by {rotation} degrees.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          rotation: requestBody.rotation
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media/{id}/finalize'].post
  update:
    x-apievangelist-phrasing:
      intent: Finalize a sideloaded image via wp/v2
      effect: write
      questions:
      - How do I finalize a media item that was sideloaded into a WordPress.com site?
      - What do I send to finish processing a sideloaded image?
      instructions:
      - text: Finalize sideloaded image {id} on {wpcom_site} with sub-sizes {sub_sizes}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          sub_sizes: requestBody.sub_sizes
      - text: Mark the sideloaded file {id} on {wpcom_site} as finalized.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media/{id}/post-process'].post
  update:
    x-apievangelist-phrasing:
      intent: Run a post-processing action on media via wp/v2
      effect: write
      questions:
      - How do I trigger a post-processing action on a media item through the wp/v2 endpoint?
      - Can I run a specific action on an uploaded file after it lands?
      instructions:
      - text: Run post-processing action {action} on media {id} on {wpcom_site}.
        slots:
          action: requestBody.action
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Post-process file {id} in {wpcom_site}'s media library with {action}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          action: requestBody.action
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/media/{id}/sideload'].post
  update:
    x-apievangelist-phrasing:
      intent: Sideload an image into a site via wp/v2
      effect: write
      questions:
      - How do I sideload an external image into a WordPress.com site's media library?
      - Can I register a sideloaded image under several sizes at once?
      instructions:
      - text: Sideload image {id} on {wpcom_site} as size {image_size}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          image_size: requestBody.image_size
      - text: Register sideloaded file {id} on {wpcom_site} under sizes {image_size}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          image_size: requestBody.image_size
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-playback-jwt/{guid}'].put
  update:
    x-apievangelist-phrasing:
      intent: Get a VideoPress playback JWT
      effect: write
      questions:
      - How do I get a playback link for a VideoPress video?
      - Can I issue a new JWT for a VideoPress file?
      instructions:
      - text: Create a playback JWT for VideoPress video {guid} on site {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      - text: Issue a new playback token for VideoPress file {guid} on site {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-playback-jwt/{guid}'].post
  update:
    x-apievangelist-phrasing:
      intent: Get a VideoPress playback token
      effect: write
      questions:
      - How can I get a signed token to play back a private VideoPress video?
      - Is there a way to request a playback JWT for a VideoPress video using its GUID?
      instructions:
      - text: Get a playback JWT via POST for VideoPress video {guid} on {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      - text: Request a signed playback token with POST for VideoPress GUID {guid} on site {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-playback-jwt/{guid}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a VideoPress playback JWT
      effect: write
      questions:
      - How do I change an existing VideoPress playback JWT for a video?
      - Can I patch the VideoPress playback token of a video by its GUID?
      instructions:
      - text: Patch the VideoPress playback JWT of video {guid} on {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      - text: Update the VideoPress playback token for video {guid} on {wpcom_site} with a new value.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-privacy-details/{guid}'].put
  update:
    x-apievangelist-phrasing:
      intent: Set VideoPress privacy details
      effect: write
      questions:
      - How do I make a VideoPress video private?
      - Can I mark a VideoPress file as password-protected?
      instructions:
      - text: Set the privacy details of VideoPress video {guid} on site {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      - text: Mark VideoPress file {guid} on site {wpcom_site} as private.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-privacy-details/{guid}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create privacy details for a VideoPress video
      effect: write
      questions:
      - How do I create privacy details for a VideoPress video?
      - Can I set VideoPress privacy details for a new video?
      instructions:
      - text: Create privacy details for VideoPress video {guid} on site {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      - text: Add privacy settings to VideoPress video {guid}.
        slots:
          guid: path.guid
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-privacy-details/{guid}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update VideoPress privacy settings
      effect: write
      questions:
      - Can I change the privacy of a VideoPress video after it is uploaded?
      - Is there a way to switch an existing VideoPress file from private to public?
      instructions:
      - text: Patch the privacy settings of VideoPress file {guid} on site {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      - text: Change the privacy of existing VideoPress video {guid} on site {wpcom_site}.
        slots:
          guid: path.guid
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-upload-jwt'].put
  update:
    x-apievangelist-phrasing:
      intent: Get a VideoPress upload JWT for a site
      effect: write
      questions:
      - How do I get a VideoPress upload JWT for my site?
      - Can I fetch a fresh VideoPress upload token for a site?
      instructions:
      - text: Get a VideoPress upload JWT for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Fetch a new VideoPress upload token for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-upload-jwt'].post
  update:
    x-apievangelist-phrasing:
      intent: Request a VideoPress upload JWT
      effect: write
      questions:
      - How do I request a VideoPress upload JWT for a site?
      - Can I ask for a VideoPress upload token to upload videos?
      instructions:
      - text: Request a VideoPress upload JWT for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Ask for a VideoPress upload token for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/media/videopress-upload-jwt'].patch
  update:
    x-apievangelist-phrasing:
      intent: Rotate a VideoPress upload JWT
      effect: write
      questions:
      - How do I rotate the VideoPress upload JWT for a site?
      - Can I replace an old VideoPress upload token with a new one?
      instructions:
      - text: Rotate the VideoPress upload JWT for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Replace the VideoPress upload token on site {wpcom_site}.
        slots:
          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-media-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.