Skip to main content

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

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
sourceTypeData source type of the source endpoint, obtained from Retrieve the data source type of the source endpointBodyTrueString
targetTypeData source type of the target endpoint, obtained from Retrieve the data source type of the target endpointBodyTrueString

Public Response Results

ParameterNameParameter DescriptionType(Java)NotNull
code1: Success
0: Failure
StringTrue
dataObjectFalse
msgStringFalse
requestIdStringTrue

Data Parameters

ParameterNameParameter DescriptionType(Java)NotNull
sourceSource data source typeStringTrue
targetTarget data source typeStringFalse
optionTypeCapability model constructed from multiple DataJobTypesStringFalse

Capability Description Parameter Description

ParameterNameParameter DescriptionType(Java)NotNull
IncrementalIncremental synchronizationStringTrue
FullAmountFull data migrationStringTrue
defaultCheckWhether this DataJobType is selected by defaultStringFalse

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"
}
}
}
}