SearchChtaglist
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
Authorizations:StringHeaderRequired
用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。
Query Parameters
aidcId:StringRequired
Intelligent Computing Center ID.
image:StringRequired
Image name.
Response
状态码:application/json
200
code:Int
code is a common return value format, representing the execution result of the query operation.
0
-1
0 is the success identifier, indicating that the operation was completed successfully.
data:Array
data.name:String
Image repository access address.
data.tag:String
Image tag.
data.pushTime:String
Image push time.
data.size:Int
Image size, unit: B.
data.artifacts:Int
Image metadata version.
data.digest:Int
Image digest version.
msg:StringRequired
Returns exception information when the code value is -1.
cURL
Python
JavaScript
Go
Java
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'
200
400
401
403
404
500
{
"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"
}
]
}