Querying Anti-DDoSAnti-DDoS Tasks
Function
Querying Anti-DDoSAnti-DDoS Tasks
Debugging
You can use API Explorer to debug this API.
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 | No | 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 | 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
None
Status Codes
| Status Code | Description |
|---|---|
| 200 | OK |
Error Codes
See Error Codes.
Last Article: Task Controller
Next Article: Anti-DDoS Controller
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.