Help Center> Anti-DDoS> API Reference> API> Task Controller> Querying Anti-DDoSAnti-DDoS Tasks

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

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

poject id

Minimum: 32

Maximum: 64

Table 2 Query parameters

Parameter

Mandatory

Type

Description

task_id

No

String

Task ID (nonnegative integer) character string

Request Parameters

Table 3 Request header 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

Table 4 Response body parameters

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.