Docker Hub · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Docker Engine Swarm API

8 actions 8 updates phrasing extends openapi/docker-hub-swarm-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Docker Hub's API. It is a proposal applied on top of the contract, not a document Docker Hub publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/swarm'].get
$.paths['/swarm/init'].post
$.paths['/swarm/join'].post
$.paths['/swarm/leave'].post
$.paths['/swarm/update'].post
$.paths['/swarm/unlockkey'].get
$.paths['/swarm/unlock'].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 Docker Engine Swarm API
  version: 1.0.0
extends: openapi/docker-hub-swarm-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/swarm'].get
  update:
    x-apievangelist-phrasing:
      intent: Inspect the swarm cluster
      effect: read
      questions:
      - What is the current state of my Docker Swarm cluster?
      - Which manager and worker nodes are in the swarm?
      instructions:
      - text: Show the swarm cluster details.
      - text: Inspect the current swarm configuration.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/swarm/init'].post
  update:
    x-apievangelist-phrasing:
      intent: Initialize a new swarm cluster
      effect: write
      questions:
      - How do I turn a single Docker Engine into a swarm cluster?
      - Can I force a new swarm cluster even if one already exists?
      instructions:
      - text: Initialize a new swarm with spec {Spec}.
        slots:
          Spec: requestBody.Spec
      - text: Create a swarm cluster on listen address {ListenAddr}.
        slots:
          ListenAddr: requestBody.ListenAddr
      method: generated
      generated: '2026-11-19'
- target: $.paths['/swarm/join'].post
  update:
    x-apievangelist-phrasing:
      intent: Join an existing swarm cluster
      effect: write
      questions:
      - How do I add a worker node to an existing swarm?
      - Can I join a swarm using a join token and manager addresses?
      instructions:
      - text: Join swarm {RemoteAddrs} with join token {JoinToken}.
        slots:
          RemoteAddrs: requestBody.RemoteAddrs
          JoinToken: requestBody.JoinToken
      - text: Add this node to the swarm as a worker using token {JoinToken}.
        slots:
          JoinToken: requestBody.JoinToken
      method: generated
      generated: '2026-11-19'
- target: $.paths['/swarm/leave'].post
  update:
    x-apievangelist-phrasing:
      intent: Leave the swarm cluster
      effect: destructive
      questions:
      - How do I remove a node from a swarm?
      - Can I force a swarm node to leave even if it's the last manager?
      instructions:
      - text: Leave the swarm.
      - text: Force this node to leave the swarm with force {force}.
        slots:
          force: query.force
      method: generated
      generated: '2026-11-19'
- target: $.paths['/swarm/update'].post
  update:
    x-apievangelist-phrasing:
      intent: Update swarm cluster settings
      effect: write
      questions:
      - How do I rename a swarm or change its labels?
      - Can I rotate the worker or manager join tokens?
      instructions:
      - text: Update swarm {Name} with labels {Labels}.
        slots:
          Name: requestBody.Name
          Labels: requestBody.Labels
      - text: Rotate the worker join token in swarm version {version}.
        slots:
          version: query.version
      method: generated
      generated: '2026-11-19'
- target: $.paths['/swarm/unlockkey'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the swarm unlock key
      effect: read
      questions:
      - What is the unlock key for a locked swarm manager?
      - Where do I find the swarm unlock key?
      instructions:
      - text: Get the swarm unlock key.
      - text: Show the current swarm unlock key.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/swarm/unlock'].post
  update:
    x-apievangelist-phrasing:
      intent: Unlock a locked swarm manager
      effect: write
      questions:
      - How do I unlock a swarm manager that is locked?
      - Can I unlock the swarm with the unlock key?
      instructions:
      - text: Unlock the swarm with unlock key {UnlockKey}.
        slots:
          UnlockKey: requestBody.UnlockKey
      - text: Unlock the locked swarm manager.
      method: generated
      generated: '2026-11-19'

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/docker-hub-swarm-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.