Sources Dry Run
Tests the connection to the source database.
Args: body: The connection details according to the OpenAPI Scheme.
Returns: Union[ConnectionStatusSingleConnection, Error]: The connection status.
Request body
Example request
{
"type": "cdc",
"logging": {
"level": "debug"
},
"connection": {
"type": "mysql",
"host": "${HOST_IP}",
"port": 3306,
"database": "new_schema",
"user": "${secret:local-vault:credentials:user}",
"password": "${secret:local-vault:credentials:password}"
}
}Response
Successful Response
Example response
{
"invalid_properties": {
"database.hostname": "Unable to connect: Communications link failure"
}
}Changes
Changed in 3 of the 14 revisions of this API.35
- ●
removed the optional property
errorsfrom the response with the401statusresponse-optional-property-removed
- ●
removed the optional property
errorsfrom the response with the403statusresponse-optional-property-removed
- ○
removed the non-success response with the status
422response-non-success-status-removed
- ○
added the optional property
anyOf[subschema #1: ConnectionStatusSingleConnection]/invalid_propertiesto the response with the200statusresponse-optional-property-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
errorsto the response with the401statusresponse-optional-property-added
- ○
added the optional property
errorsto the response with the403statusresponse-optional-property-added
- ○
- ●
removed the optional property
anyOf[subschema #1: ConnectionStatusSingleConnection]/invalid_propertiesfrom the response with the200statusresponse-optional-property-removed
- ○
added the non-success response with the status
422response-non-success-status-added
This revision also has 37 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●