Queries information about the latest scan task to determine whether the task is complete.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TaskType | string | Yes | The type of the task. Valid values:
| ASSETS_COLLECTION |
TaskName | string | Yes | The name of the task. Valid values:
| ASSETS_COLLECTION |
Source | string | No | The source of the task. | console_batch |
Response parameters
Examples
Sample success responses
JSON
format
{
"CollectTime": 1671184531000,
"RequestId": "BE120DAB-F4E7-4C53-ADC3-A97578AB****",
"TotalCount": 44,
"TaskId": 0,
"FinishCount": 67,
"TaskInfo": {
"Status": "SUCCESS",
"Progress": 69,
"Result": "SUCCESS"
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.