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
ParameterName | Parameter Description | RequestType | Whether Required | DataType |
---|---|---|---|---|
sourceType | Source data source type, obtained through Get Source Data Source Type | Body | True | String |
deployType | Data source deployment type SELF_MAINTENANCE ALIBABA_CLOUD_HOSTED | 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
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"
]
}