SearchDetail
Query the user's image registry information under a specified AIDC.
GET
https://api.alayanew.com/api/image/v1/registry
Authorizations
Authorizations:StringHeaderRequired
用户可通过已获取Open API Key做验证,例如:plain Credential=[YOUR_AK],Signature=[YOUR_SK]。
Query Parameters
aidcId:StringRequired
Intelligent Computing Center ID.
Response
状态码:application/json
200
code:Int
The 'code' is a common return value format indicating the execution result of the query operation.
0
-1
0 is the success identifier, indicating the operation completed successfully.
data:Object
data.registry:String
The access address of the image registry.
msg:StringRequired
When the 'code' value is -1, this returns the exception error message.
cURL
Python
JavaScript
Go
Java
curl -X GET 'https://api.alayanew.com/api/image/v1/registry?aidcId=1' -H 'Authorization: plain Credential=YOUR_AK,Signature=YOUR_SK'
200
400
401
403
404
500
{
"code": 0,
"data": {
"registry": "harbor.dev01.zetyun.cn:8443"
}
}