Skip to main content

SearchChtaglist

更新时间:2025-05-07 17:32:25
Query the Tag list of a specified image in the image repository under a specified AIDC.
GET
https://api.alayanew.com/api/image/v1/tag/list
Authorizations
AuthorizationsStringHeaderRequired

用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。

Query Parameters
aidcIdStringRequired

Intelligent Computing Center ID.

imageStringRequired

Image name.

Response
状态码:application/json
codeInt

code is a common return value format, representing the execution result of the query operation.

0 is the success identifier, indicating that the operation was completed successfully.
dataArray

data.nameString

Image repository access address.

data.tagString

Image tag.

data.pushTimeString

Image push time.

data.sizeInt

Image size, unit: B.

data.artifactsInt

Image metadata version.

data.digestInt

Image digest version.

msgStringRequired

Returns exception information when the code value is -1.

curl -X GET 'https://api.alayanew.com/api/image/v1/tag/list?aidcId=1&image=alayanew-a26e1508-9fa2-4ad1-a231-a94691ff0feb/hello2'  
     -H 'Authorization: plain Credential=YOUR_AK,Signature=YOUR_SK'
{
    "code": 0,
    "data": [
        {
            "name": "alayanew-a26e1508-9fa2-4ad1-a231-a94691ff0feb/pytest",
            "tag": "8.3.4",
            "pushTime": "2025-02-10T08:57:21.125Z",
            "size": 16508096185,
            "artifacts": "sha256:88cb86343fb71d4d70aeaff5879ff2ec76bcf03cf6473f73b5a618c5130c5ac0",
            "digest": "sha256:88cb86343fb71d4d70aeaff5879ff2ec76bcf03cf6473f73b5a618c5130c5ac0"
        }
    ]
}