请求头
Bearer 身份验证格式,例如:Bearer {{API 密钥}}。
响应参数
镜像仓库认证列表。
curl --request GET \
--url https://api.ppinfra.com/gpu-instance/openapi/v1/repository/auths \
--header 'Authorization: <authorization>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>",
"password": "<string>"
}
]
}curl --request GET \
--url https://api.ppinfra.com/gpu-instance/openapi/v1/repository/auths \
--header 'Authorization: <authorization>'{
"data": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>",
"password": "<string>"
}
]
}curl --location --request GET 'https://api.ppinfra.com/gpu-instance/openapi/v1/repository/auths' \
--header 'Authorization: Bearer {{API 密钥}}'
{
"data": [
{
"id": "20",
"name": "test",
"username": "test",
"password": "xxxxxxxx"
}
]
}