Querying Anti-DDoS Tasks
Function
This API enables you to query the execution status of a specified Anti-DDoS configuration task.
Calling Method
For details, see Calling APIs.
URI
GET /v2/{project_id}/query-task-status
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
task_id |
Yes |
String |
Task ID (non-negative integer) string. |
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
|
Content-Type |
Yes |
String |
Content-Type request header. |
Response Parameters
Status code: 200
Example Requests
None
Example Responses
Status code: 200
Request succeeded.
{
"task_status" : "success",
"task_msg" : ""
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Request succeeded. |
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.