PreCheck DataJob(Detailed)
Interface Overview
Verify task information in detail, including character sets, data permissions, and metadata.
Interface Address
/cloudcanal/console/api/v1/openapi/datajob/precheckdetail
Request Manner
POST
Request Parameters
| ParameterName | Parameter Description | RequestType | Whether Required | DataType |
|---|---|---|---|---|
| clusterId | The ID of the cluster that the data source is linked to | Body | True | Long |
| srcDsId | The ID of the source data source | Body | True | Long |
| srcHostType | The host type of the source data source PRIVATE PUBLIC | Body | True | String |
| srcSchema | Description of the source database and table, see Data Source Schema Description | Body | True | String |
| dstDsId | The ID of the target data source | Body | True | Long |
| dstHostType | The host type of the target data source PRIVATE PUBLIC | Body | True | String |
| dstSchema | Description of the target database and table, can be calculated from srcSchema with mappingDef, can be empty | Body | False | String |
| mappingDef | Database table mapping, see Mapping Rule Description | Body | True | String |
| jobType | The type of the task, can be obtained by querying through Get Task Type | Body | True | String |
| initialSync | For data synchronization tasks, whether to initialize data (full migration) | Body | False | Boolean |
| shortTermNum | If there is short-term synchronization, how many days it lasts | Body | False | Integer |
| shortTermSync | Whether to perform short-term synchronization for data migration tasks | Body | False | Boolean |
| specId | Specification ID | Body | True | Integer |
| fullPeriod | Whether it is periodic full migration | Body | False | Boolean |
| fullPeriodCronExpr | CronTab expression for periodic full migration | Body | False | String |
| autoStart | Whether to start automatically | Body | False | Boolean |
| checkOnce | Whether to perform a full data verification after catching up with incremental data | Body | False | Boolean |
| checkPeriod | Whether it is periodic verification | Body | False | Boolean |
| checkPeriodCronExpr | CronTab expression for periodic verification | Body | False | String |