Updated on 2024-10-11 GMT+08:00

Querying Anti-DDoS Tasks

Function

Querying Anti-DDoS Tasks

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

Yes

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

Content-Type

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

Status code: 200

OK

{
  "task_status" : "success",
  "task_msg" : ""
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.