Skip to main content

Target DataSource Type

Interface Overview

Obtain the destination data source type for selection when creating a task.

Interface Address

/cloudcanal/console/api/v1/openapi/constant/dstdstype

Request Manner

POST

Request Parameters

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
sourceTypeSource data source type, obtained through Get Source Data Source TypeBodyTrueString
deployTypeData source deployment type

SELF_MAINTENANCE
ALIBABA_CLOUD_HOSTED
BodyTrueString

Public Response Results

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

Data Parameters

The data is an array, and array elements are data source types

Response Example

{
"requestId": "5d580478-2be4-11ec-b616-fbb1cde383d4",
"code": "1",
"msg": "request success",
"data": [
"MySQL",
"TiDB",
"PostgreSQL",
"Greenplum",
"ElasticSearch",
"ClickHouse",
"Kafka",
"RocketMQ",
"RabbitMQ",
"Hive",
"Oracle",
"Kudu",
"MongoDB",
"Redis"
]
}