Skip to main content

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

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
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": "116fa5ee-2be4-11ec-b616-d37c8ae46be7",
"code": "1",
"msg": "request success",
"data": [
"MySQL",
"PostgreSQL",
"Greenplum",
"Oracle",
"Kafka",
"RocketMQ",
"MongoDB"
]
}