Source DataSource Type
Interface Overview
Retrieve the data source type of the source endpoint to enable task creation selection.
Interface Address
/cloudcanal/console/api/v1/openapi/constant/srcdstype
Request Manner
POST
Request Parameters
| ParameterName | Parameter Description | RequestType | Whether Required | DataType |
|---|---|---|---|---|
| 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": "116fa5ee-2be4-11ec-b616-d37c8ae46be7",
"code": "1",
"msg": "request success",
"data": [
"MySQL",
"PostgreSQL",
"Greenplum",
"Oracle",
"Kafka",
"RocketMQ",
"MongoDB"
]
}