BladePipe 1.10.0: Support Google Ads and more, improve SAP HANA source CDC performance.
Skip to main content

Modify DataJob (Full Data/Verification)

API Overview​

Modify the subscription of a DataJob. It detects whether the current DataTask is Full Data or Verification.

API Path​

/cloudcanal/console/api/v1/openapi/datajob/updatetransferobjectforfull

Request Method​

POST

Request Parameters​

ParameterDescriptionTypeRequiredData Type
dataJobIdDataJob IDBodyYeslong
structMigrationWhether to perform schema migration, such as table creation, database creation, topic creation, etc.BodyNoboolean
initialSyncWhether to perform full data migrationBodyNoboolean
addMappingConfigNewly added metadata mapping. Please refer to Metadata MappingBodyNostring
sourceAddConfigMetadata added to the Source. Please refer to Metadata SchemaBodyNostring
targetAddConfigMetadata added to the Target. Please refer to Metadata SchemaBodyNostring
mappingConfigWithoutAddUpdated metadata mapping, excluding newly added ones. Please refer to Metadata MappingBodyYesstring
srcSchemaWithoutAddUpdated source metadata, excluding newly added ones. Please refer to Metadata SchemaBodyYesstring
dstSchemaWithoutAddUpdated target metadata, excluding newly added ones. Please refer to Metadata SchemaBodyNostring

Response Parameters​

ParameterDescriptionType (Java)Not Null
code1: Success; 0: FailstringYes
dataObjectNo
msgstringNo
requestIDstringYes

Response Example​

{
"requestId": "c5665d7c-2cb7-11ec-a410-bfd57df2q1ea",
"code": "1",
"msg": "request success",
"data": null
}