Skip to main content

Restart DataJob

Interface Overview

Restart DataJob when running.

Interface Address

/cloudcanal/console/api/v1/openapi/datajob/restart

Request Manner

POST

Request Parameters

ParameterNameParameter DescriptionRequestTypeWhether RequiredDataType
jobIdID of the DataJobBodyTrueLong

Public Response Results

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

Response Example

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