PingCAP · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for DM OpenAPI DOC Source API

15 actions 15 updates phrasing extends openapi/pingcap-source-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for PingCAP's API. It is a proposal applied on top of the contract, not a document PingCAP publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 15

$.info
$.paths['/api/v1/sources'].get
$.paths['/api/v1/sources'].post
$.paths['/api/v1/sources/{source-name}'].get
$.paths['/api/v1/sources/{source-name}'].put
$.paths['/api/v1/sources/{source-name}'].delete
$.paths['/api/v1/sources/{source-name}/status'].get
$.paths['/api/v1/sources/{source-name}/enable'].post
$.paths['/api/v1/sources/{source-name}/disable'].post
$.paths['/api/v1/sources/{source-name}/transfer'].post
$.paths['/api/v1/sources/{source-name}/relay/enable'].post
$.paths['/api/v1/sources/{source-name}/relay/disable'].post
$.paths['/api/v1/sources/{source-name}/relay/purge'].post
$.paths['/api/v1/sources/{source-name}/schemas'].get
$.paths['/api/v1/sources/{source-name}/schemas/{schema-name}'].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 DM OpenAPI DOC Source API
  version: 1.0.0
extends: openapi/pingcap-source-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-25'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 14
- target: $.paths['/api/v1/sources'].get
  update:
    x-apievangelist-phrasing:
      intent: List data sources
      effect: read
      questions:
      - Which data sources are configured in my DM cluster?
      - Can I list only the sources that are currently relaying?
      instructions:
      - text: List all data sources.
      - text: List data sources with status {with_status}.
        slots:
          with_status: query.with_status
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources'].post
  update:
    x-apievangelist-phrasing:
      intent: Create and enable a data source
      effect: write
      questions:
      - How do I add a new data source to my DM cluster?
      - Can I choose which worker a new source runs on?
      instructions:
      - text: Create data source {source}.
        slots:
          source: requestBody.source
      - text: Create source {source} on worker {worker_name}.
        slots:
          source: requestBody.source
          worker_name: requestBody.worker_name
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a data source
      effect: read
      questions:
      - What configuration does a specific data source have?
      - Can I fetch one source with its status?
      instructions:
      - text: Get data source {source-name}.
        slots:
          source-name: path.source-name
      - text: Show source {source-name} with status {with_status}.
        slots:
          source-name: path.source-name
          with_status: query.with_status
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a data source
      effect: write
      questions:
      - How do I change the configuration of an existing data source?
      - Can I rename a source after it is created?
      instructions:
      - text: Update data source {source-name} with {source}.
        slots:
          source-name: path.source-name
          source: requestBody.source
      - text: Change the configuration of source {source-name}.
        slots:
          source-name: path.source-name
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a data source
      effect: destructive
      questions:
      - How do I remove a data source from my cluster?
      - Can I force-stop a source's tasks when deleting it?
      instructions:
      - text: Delete data source {source-name}.
        slots:
          source-name: path.source-name
      - text: Delete source {source-name} and force-stop its tasks ({force}).
        slots:
          source-name: path.source-name
          force: query.force
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/status'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a data source's status
      effect: read
      questions:
      - Is my data source currently running?
      - What is the current status of a source?
      instructions:
      - text: Get the status of data source {source-name}.
        slots:
          source-name: path.source-name
      - text: Check whether source {source-name} is healthy.
        slots:
          source-name: path.source-name
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/enable'].post
  update:
    x-apievangelist-phrasing:
      intent: Enable a data source
      effect: write
      questions:
      - How do I start a data source that is disabled?
      - Can I turn a stopped source back on?
      instructions:
      - text: Enable data source {source-name}.
        slots:
          source-name: path.source-name
      - text: Start the disabled source {source-name}.
        slots:
          source-name: path.source-name
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/disable'].post
  update:
    x-apievangelist-phrasing:
      intent: Disable a data source
      effect: write
      questions:
      - How do I pause a data source without deleting it?
      - Can I stop a source temporarily?
      instructions:
      - text: Disable data source {source-name}.
        slots:
          source-name: path.source-name
      - text: Pause the running source {source-name}.
        slots:
          source-name: path.source-name
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/transfer'].post
  update:
    x-apievangelist-phrasing:
      intent: Move a data source to a worker
      effect: write
      questions:
      - How do I move a source to a different worker?
      - Can I reassign a source to a free worker?
      instructions:
      - text: Transfer source {source-name} to worker {worker_name}.
        slots:
          source-name: path.source-name
          worker_name: requestBody.worker_name
      - text: Reassign source {source-name} to worker {worker_name}.
        slots:
          source-name: path.source-name
          worker_name: requestBody.worker_name
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/relay/enable'].post
  update:
    x-apievangelist-phrasing:
      intent: Enable relay logs for a source
      effect: write
      questions:
      - How do I turn on relay logs for a data source?
      - Can I start relaying upstream binlogs from a specific filename?
      instructions:
      - text: Enable relay logs for data source {source-name}.
        slots:
          source-name: path.source-name
      - text: Enable relay for source {source-name} from binlog {relay_binlog_name}.
        slots:
          source-name: path.source-name
          relay_binlog_name: requestBody.relay_binlog_name
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/relay/disable'].post
  update:
    x-apievangelist-phrasing:
      intent: Disable relay logs for a source
      effect: write
      questions:
      - How do I stop relaying logs for a data source?
      - Can I disable relay on specific workers?
      instructions:
      - text: Disable relay logs for data source {source-name}.
        slots:
          source-name: path.source-name
      - text: Disable relay for source {source-name} on workers {worker_name_list}.
        slots:
          source-name: path.source-name
          worker_name_list: requestBody.worker_name_list
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/relay/purge'].post
  update:
    x-apievangelist-phrasing:
      intent: Purge relay logs for a source
      effect: destructive
      questions:
      - How do I clear relay logs for a data source?
      - Can I purge relay logs from a specific binlog filename?
      instructions:
      - text: Purge relay logs for data source {source-name} from {relay_binlog_name}.
        slots:
          source-name: path.source-name
          relay_binlog_name: requestBody.relay_binlog_name
      - text: Clear relay logs of source {source-name} in directory {relay_dir}.
        slots:
          source-name: path.source-name
          relay_dir: requestBody.relay_dir
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/schemas'].get
  update:
    x-apievangelist-phrasing:
      intent: List schemas of a data source
      effect: read
      questions:
      - Which schemas does a data source contain?
      - What tables are available in a source's schema?
      instructions:
      - text: List schemas of data source {source-name}.
        slots:
          source-name: path.source-name
      - text: Show the tables in each schema of source {source-name}.
        slots:
          source-name: path.source-name
      method: generated
      generated: '2026-11-25'
- target: $.paths['/api/v1/sources/{source-name}/schemas/{schema-name}'].get
  update:
    x-apievangelist-phrasing:
      intent: List tables in a source schema
      effect: read
      questions:
      - What tables are in a particular schema of a data source?
      - Can I list tables for one schema of a source?
      instructions:
      - text: List tables in schema {schema-name} of data source {source-name}.
        slots:
          schema-name: path.schema-name
          source-name: path.source-name
      - text: Show the tables in source {source-name} schema {schema-name}.
        slots:
          source-name: path.source-name
          schema-name: path.schema-name
      method: generated
      generated: '2026-11-25'

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/pingcap-source-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.