SearchImageList
Query the list of image repositories for a user under a specified AIDC, including private images opened by the enterprise and public images preset by the platform.
GET
https://api.alayanew.com/api/image/v1/image/list
Authorizations
Authorizations:StringHeaderRequired
用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。
Query Parameters
aidcId:StringRequired
Intelligent Computing Center ID.
image:String
Image name.
projectName:String
Project name; when not empty, queries images under all Projects where permission is granted.
Response
状态码:application/json
200
code:Int
Code is a common return value format indicating the execution result of the query operation.
0
-1
0 is the success indicator, meaning the operation completed successfully.
data:Object
data.id:Int
Image ID.
data.projectId:Int
Image project ID.
data.name:String
Image name.
data.description:String
Image description.
data.artifactCount:Int
Number of image tags.
data.pullCount:Int
Number of times the image has been pulled.
data.isPublic:String
Whether it is public.
data.creationTime:Timestamp
Image creation time.
data.updateTime:Timestamp
Image update time.
msg:StringRequired
Exception message returned when the code value is -1.
cURL
Python
JavaScript
Go
Java
curl -X GET 'https://api.alayanew.com/api/image/v1/image/list?aidcId=1&image=hello' -H 'Authorization: plain Credential=YOUR_AK,Signature=YOUR_SK'
200
400
401
403
404
500
{
"code": 0,
"data": [
{
"id": 145,
"projectId": 438,
"name": "alayanew-a26e1508-9fa2-4ad1-a231-a94691ff0feb/hello2",
"description": null,
"artifactCount": 3,
"pullCount": 8,
"isPublic": "false",
"createTime": "2025-02-13T12:15:57.784Z",
"updateTime": "2025-02-28T09:06:40.252Z"
},
{
"id": 140,
"projectId": 438,
"name": "alayanew-a26e1508-9fa2-4ad1-a231-a94691ff0feb/pytest",
"description": null,
"artifactCount": 1,
"pullCount": 5,
"isPublic": "false",
"createTime": "2025-02-10T08:57:19.967Z",
"updateTime": "2025-02-20T03:53:45.256Z"
}
]
}