Docker · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Docker Engine Swarm API

8 actions 8 updates phrasing extends openapi/docker-swarm-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Docker's API. It is a proposal applied on top of the contract, not a document Docker 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-swarm-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-18'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/swarm'].get
  update:
    x-apievangelist-phrasing:
      intent: Inspect the swarm
      effect: read
      questions:
      - Is my swarm initialized and what are its settings?
      - What is the current swarm configuration?
      instructions:
      - text: Inspect the swarm.
      - text: Show the swarm configuration.
      method: generated
      generated: '2026-11-18'
- target: $.paths['/swarm/init'].post
  update:
    x-apievangelist-phrasing:
      intent: Initialize a new swarm
      effect: write
      questions:
      - How do I turn a single Docker engine into a swarm cluster?
      - Can I force a new swarm even if one already exists?
      instructions:
      - text: Initialize a new swarm with spec {spec}.
        slots:
          spec: requestBody.Spec
      - text: Create a swarm on listen address {listen_addr} with advertise address {advertise_addr}.
        slots:
          listen_addr: requestBody.ListenAddr
          advertise_addr: requestBody.AdvertiseAddr
      method: generated
      generated: '2026-11-18'
- target: $.paths['/swarm/join'].post
  update:
    x-apievangelist-phrasing:
      intent: Join an existing swarm
      effect: write
      questions:
      - How do I add a worker node to an existing swarm?
      - What do I need to join a swarm, a token and manager addresses?
      instructions:
      - text: Join swarm {remote_addrs} with join token {join_token}.
        slots:
          remote_addrs: requestBody.RemoteAddrs
          join_token: requestBody.JoinToken
      - text: Add this node to the swarm using token {join_token}.
        slots:
          join_token: requestBody.JoinToken
      method: generated
      generated: '2026-11-18'
- target: $.paths['/swarm/leave'].post
  update:
    x-apievangelist-phrasing:
      intent: Leave the swarm
      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-18'
- target: $.paths['/swarm/update'].post
  update:
    x-apievangelist-phrasing:
      intent: Update the swarm configuration
      effect: write
      questions:
      - How do I change the swarm's orchestration or Raft settings?
      - Can I rotate the worker or manager join tokens?
      instructions:
      - text: Update the swarm with orchestration settings {orchestration}.
        slots:
          orchestration: requestBody.Orchestration
      - text: Rotate the worker join token and manager join token.
      method: generated
      generated: '2026-11-18'
- 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?
      - Can I retrieve the swarm unlock key to unlock a manager?
      instructions:
      - text: Get the swarm unlock key.
      - text: Show the swarm's unlock key.
      method: generated
      generated: '2026-11-18'
- 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 a swarm with the unlock key?
      instructions:
      - text: Unlock the swarm with unlock key {unlock_key}.
        slots:
          unlock_key: requestBody.UnlockKey
      - text: Unlock this locked swarm manager.
      method: generated
      generated: '2026-11-18'

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-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.