tencent cloud

APIs

DescribeAssetImageList

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-06-10 17:06:44

1. API Description

Domain name for API request: tcss.intl.tencentcloudapi.com.

This API is used to query the list of images.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeAssetImageList.
Version Yes String Common Params. The value used for this API: 2020-11-01.
Region No String Common Params. This parameter is not required.
Limit No Integer

Number of items to return. The default number is 10, and the maximum number is 100.

Offset No Integer

Offset. Default value: 0.

Filters.N No Array of AssetFilters

Filter conditions.

  • ImageName - String - Required: No - Image name filter;
  • ScanStatus - String - Required: No - Image scan status: notScan, scanning, scanned, and scanErr
  • ImageID - String - Required: No - Image ID filter;
  • SecurityRisk - String - Required: No - Security risk: VirusCnt, RiskCnt, IsTrustImage, CriticalLevelVul, HighLevelVul, MediumLevelVul, and LowLevelVul.
  • By No String

    Sorting field.

    Order No String

    Sorting method. Valid values: asc and desc.

    3. Output Parameters

    Parameter Name Type Description
    List Array of ImagesInfo

    Image list.

    TotalCount Integer

    Total quantity.

    RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

    4. Example

    Example1 Query Image List

    Query Image List

    Input Example

    POST / HTTP/1.1
    Host: tcss.intl.tencentcloudapi.com
    Content-Type: application/json
    X-TC-Action: DescribeAssetImageList
    <Common request parameters>
    
    {}
    

    Output Example

    {
        "Response": {
            "List": [
                {
                    "ImageID": "sha256:2061084bfcc0d9ff44f479efc582e3ac9feaf96b556f6901bb39dbddfb9676b2",
                    "ImageName": "l10:latest",
                    "CreateTime": "2021-01-29T04:03:18Z",
                    "Size": 16159906,
                    "HostCnt": 12,
                    "SuperNodeCnt": 1,
                    "ContainerCnt": 0,
                    "ScanTime": "2021-01-29T06:10:12.021Z",
                    "VulCnt": 5,
                    "ComponentCnt": 31,
                    "VirusCnt": 141,
                    "RiskCnt": 7,
                    "IsTrustImage": true,
                    "OsName": "alpine:v3.12",
                    "AgentError": "No Error",
                    "ScanError": "No Error",
                    "ScanStatus": "SCANNED",
                    "ScanVirusError": "No Error",
                    "ScanVulError": "No Error",
                    "ScanRiskError": "No Error",
                    "IsSuggest": 0,
                    "IsAuthorized": 12
                }
            ],
            "RequestId": "9c2d0eee-b4b8-4954-98ab-be69f503f77d",
            "TotalCount": 339
        }
    }
    

    5. Developer Resources

    SDK

    TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

    Command Line Interface

    6. Error Code

    The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

    Error Code Description
    InternalError An internal error occurred.
    InvalidParameter The parameter is incorrect.
    InvalidParameter.ParsingError A parameter parsing error occurred.
    InvalidParameter.RequestTimeout Query timed out, the backend is still processing, and the query request must be sent again.
    ResourceNotFound The resource does not exist.

    도움말 및 지원

    문제 해결에 도움이 되었나요?

    피드백