Automattic · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Automattic Global Styles API

10 actions 10 updates phrasing extends openapi/automattic-global-styles-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 10

$.info
$.paths['/wp/v2/sites/{wpcom_site}/global-styles/themes/{stylesheet}'].get
$.paths['/wp/v2/sites/{wpcom_site}/global-styles/themes/{stylesheet}/variations'].get
$.paths['/wp/v2/sites/{wpcom_site}/global-styles/{id}'].get
$.paths['/wp/v2/sites/{wpcom_site}/global-styles/{id}'].put
$.paths['/wp/v2/sites/{wpcom_site}/global-styles/{id}'].post
$.paths['/wp/v2/sites/{wpcom_site}/global-styles/{id}'].patch
$.paths['/wp/v2/sites/{wpcom_site}/global-styles/{parent}/revisions'].get
$.paths['/wp/v2/sites/{wpcom_site}/global-styles/{parent}/revisions/{id}'].get
$.paths['/wpcom/v2/sites/{wpcom_site}/global-styles/status'].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 Automattic Global Styles API
  version: 1.0.0
extends: openapi/automattic-global-styles-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: 9
- target: $.paths['/wp/v2/sites/{wpcom_site}/global-styles/themes/{stylesheet}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a theme's global styles
      effect: read
      questions:
      - How do I read the global styles for a theme on a site?
      - What does a theme's global styles stylesheet contain?
      instructions:
      - text: Get the global styles for theme {stylesheet} on site {wpcom_site}.
        slots:
          stylesheet: path.stylesheet
          wpcom_site: path.wpcom_site
      - text: Show the {stylesheet} global styles of site {wpcom_site}.
        slots:
          stylesheet: path.stylesheet
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/global-styles/themes/{stylesheet}/variations'].get
  update:
    x-apievangelist-phrasing:
      intent: List a theme's global style variations
      effect: read
      questions:
      - What style variations exist for a theme's global styles?
      - Can I list the named variations of a theme's global styles?
      instructions:
      - text: List the style variations of theme {stylesheet} on site {wpcom_site}.
        slots:
          stylesheet: path.stylesheet
          wpcom_site: path.wpcom_site
      - text: Show every variation of {stylesheet} global styles for site {wpcom_site}.
        slots:
          stylesheet: path.stylesheet
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/global-styles/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a site's global styles
      effect: read
      questions:
      - How do I fetch a single theme.json on a site?
      - Can I look up one global styles style by id?
      instructions:
      - text: Get global styles {id} on site {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      - text: Show the saved style {id} for {wpcom_site}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/global-styles/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a global styles variation
      effect: write
      questions:
      - How do I overwrite a named global styles variation?
      - Can I replace a global styles variation's styles and settings?
      instructions:
      - text: Replace global styles variation {id} on site {wpcom_site} with styles {styles}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          styles: requestBody.styles
      - text: Overwrite variation {id} of site {wpcom_site} using settings {settings}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          settings: requestBody.settings
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/global-styles/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a global styles variation
      effect: write
      questions:
      - How do I create a new named global styles variation?
      - Can I add a global styles variation with a title?
      instructions:
      - text: Create global styles variation {id} on site {wpcom_site} titled {title}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          title: requestBody.title
      - text: Add a new {title} global styles variation to site {wpcom_site}.
        slots:
          title: requestBody.title
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/global-styles/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a global styles variation
      effect: write
      questions:
      - How do I change the styles of an existing global styles variation?
      - Can I rename a global styles variation?
      instructions:
      - text: Update the styles of global styles variation {id} on site {wpcom_site} to {styles}.
        slots:
          id: path.id
          wpcom_site: path.wpcom_site
          styles: requestBody.styles
      - text: Rename global styles variation {id} of site {wpcom_site} to {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}/global-styles/{parent}/revisions'].get
  update:
    x-apievangelist-phrasing:
      intent: List revisions of a global styles variation
      effect: read
      questions:
      - What revisions exist for a global styles variation?
      - Can I page through a variation's revision history?
      instructions:
      - text: List revisions of global styles variation {parent} on site {wpcom_site}.
        slots:
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show page {page} of revisions for variation {parent} of site {wpcom_site}.
        slots:
          page: query.page
          parent: path.parent
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wp/v2/sites/{wpcom_site}/global-styles/{parent}/revisions/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one revision of a global styles variation
      effect: read
      questions:
      - How do I fetch a single revision of a global styles variation?
      - Can I see the content of one revision by ID?
      instructions:
      - text: Get revision {id} of global styles variation {parent} on site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      - text: Show the {id} revision of variation {parent} for site {wpcom_site}.
        slots:
          id: path.id
          parent: path.parent
          wpcom_site: path.wpcom_site
      method: generated
      generated: '2026-12-02'
- target: $.paths['/wpcom/v2/sites/{wpcom_site}/global-styles/status'].get
  update:
    x-apievangelist-phrasing:
      intent: Check global styles status for a site
      effect: read
      questions:
      - Is global styles enabled on my site?
      - What is the global styles status for a site?
      instructions:
      - text: Check the global styles status for site {wpcom_site}.
        slots:
          wpcom_site: path.wpcom_site
      - text: Tell me whether global styles are turned on for 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-global-styles-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.