DataJob Features
Interface Overview
Get the ability to support each type of task to create task selections.
Interface Address
/cloudcanal/console/api/v1/openapi/constant/transformjobtype
Request Manner
POST
Request Parameters
| ParameterName | Parameter Description | RequestType | Whether Required | DataType |
|---|---|---|---|---|
| sourceType | Data source type of the source endpoint, obtained from Retrieve the data source type of the source endpoint | Body | True | String |
| targetType | Data source type of the target endpoint, obtained from Retrieve the data source type of the target endpoint | Body | True | String |
Public Response Results
| ParameterName | Parameter Description | Type(Java) | NotNull |
|---|---|---|---|
| code | 1: Success 0: Failure | String | True |
| data | Object | False | |
| msg | String | False | |
| requestId | String | True |
Data Parameters
| ParameterName | Parameter Description | Type(Java) | NotNull |
|---|---|---|---|
| source | Source data source type | String | True |
| target | Target data source type | String | False |
| optionType | Capability model constructed from multiple DataJobTypes | String | False |
Capability Description Parameter Description
| ParameterName | Parameter Description | Type(Java) | NotNull |
|---|---|---|---|
| Incremental | Incremental synchronization | String | True |
| FullAmount | Full data migration | String | True |
| defaultCheck | Whether this DataJobType is selected by default | String | False |
Response Example
{
"requestId": "1ee03cdf-2be5-11ec-b616-7bf5855db86d",
"code": "1",
"msg": "request success",
"data": {
"source": "MySQL",
"target": "PostgreSQL",
"optionType": {
"STRUCT_MIGRATION": {},
"SYNC": {
"Incremental": "true",
"FullAmount": "true",
"defaultCheck": "true"
},
"MIGRATION": {
"Incremental": "true",
"FullAmount": "true"
},
"CHECK": {
"Incremental": "true",
"FullAmount": "true"
}
}
}
}