Pausing Dump Tasks in Batches
Function
This API is used to pause dump tasks in batches.
URI
POST /v2/{project_id}/streams/{stream_name}/transfer-tasks/action
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
stream_name |
Yes |
String |
Name of the stream to be queried. Maximum: 60 |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
action |
Yes |
String |
Dump task operation. The value can only be stop, which indicates stopping a dump task. Enumeration values:
|
tasks |
Yes |
Array of BatchTransferTask objects |
List of dump tasks to be paused. |
Response Parameters
None
Example Requests
Pausing Dump Tasks in Batches
POST https://{Endpoint}/v2/{project_id}/streams/{stream_name}/transfer-tasks/action { "action" : "stop", "tasks" : [ { "id" : "9dSu1wfCytSk1aOLxvF" } ] }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
200 |
Normal response. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot