1
0
forked from docs/doc-exports
doc-exports/docs/dms/api-ref/RestartConnectorTask.html
Chen, Junjie f5b629cc78 DMS API 20240722 version
Reviewed-by: Ziuzko, Stanislav <stanislav.ziuzko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-09-06 09:17:23 +00:00

4.1 KiB

Starting a Smart Connect Task or Restarting a Paused or Running Smart Connect Task

Function

This API is used to start a Smart Connect task or restart a paused or running Smart Connect task. Note that the sync progress will reset and the task will restart.

URI

PUT /v2/{project_id}/kafka/instances/{instance_id}/connector/tasks/{task_id}/restart

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details, see Obtaining a Project ID.

instance_id

Yes

String

Instance ID.

task_id

Yes

String

Smart Connect task ID.

Request Parameters

None

Response Parameters

None

Example Requests

PUT https://{endpoint}/v2/{project_id}/kafka/instances/{instance_id}/connector/tasks/{task_id}/restart

Example Responses

None

Status Codes

Status Code

Description

204

Successful.

Error Codes

See Error Codes.