forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: chenxiaoxiong <chenxiaoxiong@huawei.com> Co-committed-by: chenxiaoxiong <chenxiaoxiong@huawei.com>
6.8 KiB
6.8 KiB
Starting Dump Tasks
Function
This API is used to start dump tasks.
Calling Method
For details, see Calling APIs.
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. Currently, the following operation is supported:
Enumeration values:
|
tasks |
Yes |
Array of BatchTransferTask objects |
List of dump tasks to be operated |
Response Parameters
None
Example Requests
Starting Dump Tasks
POST https://{Endpoint}/v2/{project_id}/streams/{stream_name}/transfer-tasks/action
{
"action" : "start",
"tasks" : [ {
"id" : "9dSu1wfCytSk1aOLxvF"
} ]
}
Example Responses
None
Status Codes
Status Code |
Description |
|---|---|
200 |
Normal response |
Error Codes
See Error Codes.
Parent topic: Dump Task Management