Skip to main content

SearchProjectlist

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

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

Query Parameters
aidcIdStringRequired

Intelligent Computing Center ID.

Response
状态码:application/json
codeInt

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

0 is the success indicator, meaning the operation completed successfully.
dataObject

data.projectIdInt

Image repository project ID.

data.nameString

Image repository project name.

data.creationTimeTimestamp

Image repository project creation time.

data.updateTimeTimestamp

Image repository project update time.

data.repoCountInt

Number of images within the image repository project.

data.isPublicString

Whether it is public.

msgStringRequired

Returns exception information when the code value is -1.

curl -X GET 'https://api.alayanew.com/api/image/v1/registry/project/list?aidcId=1'      -H 'Authorization: plain Credential=YOUR_AK,Signature=YOUR_SK'
{
    "code": 0,
    "data": [
        {
            "projectId": 94,
            "name": "8b91acfa-109c-4da2-825a-ad5973a1322a",
            "createTime": "2024-12-17T10:12:26.233Z",
            "updateTime": "2024-12-17T10:12:26.233Z",
            "repoCount": 0,
            "isPublic": "false"
        },
        {
            "projectId": 1,
            "name": "library",
            "createTime": "2024-10-24T18:09:51.429Z",
            "updateTime": "2024-10-24T18:09:51.429Z",
            "repoCount": 1,
            "isPublic": "false"
        }
    ]
}