change feed

create a change feed task

create a change feed task

post/changefeeds/

Request

  • Base URL
    https://localhost:4100/api/v1
  • URL
    https://localhost:4100/api/v1/changefeeds/
  • Auth
    API key in header Authorization

Request body

clusterIdstring required
downstreamobject
downstreamType'tidb' | 'kafka' | 'mysql' required
namestring required
rulesstring[]
startTSstring

Example request

{
  "clusterId": "CLUSTER_ID_IN_TIUNIMANAGER__22",
  "downstreamType": "tidb",
  "name": "my_sync_name",
  "rules": [
    "*.*"
  ],
  "startTS": "415241823337054209"
}

Response

OK

codeinteger
messagestring

Example response

{
  "data": {
    "id": "TASK_ID_IN_TIUNIMANAGER____22"
  }
}

Changes

No recorded changes to this operation across all 50 revisions of this API.