Querying Anti-DDoS Tasks
Function
Querying Anti-DDoS Tasks
URI
GET /v2/{project_id}/query-task-status
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
poject id Minimum: 32 Maximum: 64 |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
task_id |
Yes |
String |
Task ID (nonnegative integer) character string |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
token Minimum: 32 Maximum: 2097152 |
|
Content-Type |
Yes |
String |
Content-Type Default: application/json;charset=utf8 |
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
task_status |
String |
Status of a task |
|
task_msg |
String |
Additional information about a task |
Example Requests
None
Example Responses
Status code: 200
OK
{
"task_status" : "success",
"task_msg" : ""
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
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