BladePipe 1.12.0: New TDSQL PostgreSQL pipelines and expanded Kudu target support.
Skip to main content

DataJob Type

Interface Overview​

Gets the Data Job type for selection

Interface Address​

/cloudcanal/console/api/v1/openapi/constant/datajobtype

Request Manner​

POST

Request Parameters​

None

Public Response Results​

ParameterNameParameter DescriptionType(Java)NotNull
code1: Success
0: Failure
stringTrue
dataObjectFalse
msgstringFalse
requestIdstringTrue

Data Parameters​

Data is an array. The parameters of the array elements are described as follows:

ParameterNameParameter DescriptionType(Java)NotNull
i18nNameInternationalized nameStringTrue
dataJobTypeMigration task typeStringTrue

Response Example​

{
"requestId": "344d1524-2be3-11ec-b616-77daa87773f6",
"code": "1",
"msg": "request success",
"data": [
{
"i18nName": "Schema Migration",
"dataJobType": "MIGRATION"
},
{
"i18nName": "Incremental",
"dataJobType": "SYNC"
},
{
"i18nName": "Verification",
"dataJobType": "CHECK"
},
{
"i18nName": "Correction",
"dataJobType": "REVISE"
},
{
"i18nName": "Schema Migration",
"dataJobType": "STRUCT_MIGRATION"
}
]
}