Skip to main content

Replay DataJob

Interface Overview

Replay the DataJob from beginning (except schema migration).

Interface Address

/cloudcanal/console/api/v1/openapi/datajob/replay

Request Manner

POST

Request Parameters

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
jobIdID of the DataJobBodyTrueLong
autoStartWhether start automatically after this operationBodyFalseBoolean
resetToCreatedWhether reset DataJob phase to CREATED after this operation,only use in child DataJob which is triggered by Parent DataJobBodyFalseBoolean

Public Response Results

ParameterNameParameter DescriptionNotNullType(Java)
code1: Success, 0: FailureTrueString
dataResponse data.FalseObject
msgResponse message.FalseString
requestIdID of the request.TrueString

Response Example

{
"requestId": "c861ba2d-4fd9-11ef-807c-ed0985012d22",
"code": "1",
"msg": "request success",
"data": "success"
}