Queries the most recent scan task that is created for an image.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Digest | string | Yes | The digest value of the image. | 8f0fbdb41d3d1ade4ffdf21558443f4c03342010563bb8c43ccc09594d50**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0B48AB3C-84FC-424D-A01D-B9270EF4****",
"Task": [
{
"Status": "SUCCESS",
"Modified": "2022-12-20 12:00:05",
"FinishTime": 1669693430977,
"Create": "2022-12-20 11:59:05",
"Finish": 100,
"Source": "console_batch",
"StartTime": 1668614400000,
"TaskType": "IMAGE_SCAN",
"Name": "IMAGE_SCAN",
"TaskId": "0a960b9a48b788a8689154b032bf****",
"Target": "8f0fbdb41d3d1ade4ffdf21558443f4c03342010563bb8c43ccc09594d50****",
"Id": 9755662,
"TargetType": "IMAGE"
}
]
}
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.
Change history
Change time | Summary of changes | Operation |
---|
No change history