Retrieves the list of image secrets for an edge container application.
Try it now
Test
RAM authorization
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. You can call the ListEdgeContainerApps operation to obtain the application ID. Important The AppId format is the prefix app- followed by a numeric suffix, with a total length of 20 to 64 characters (example: app-8806886***83794688). Call ListEdgeContainerApps to obtain an existing AppId, or call CreateEdgeContainerApp to create an application first. |
app-88068867578379**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
3558df77-8a7a-4060-a900-2d7949403836 |
| ImageSecretList |
array<object> |
The list of image secrets. |
|
|
object |
|||
| Name |
string |
The name of the image secret. |
reg-123**** |
| Registry |
string |
The image repository address. |
registry-vpc.cn-hangzhou.aliyuncs.com |
| Username |
string |
The username of the image repository. |
admin |
Examples
Success response
JSON format
{
"RequestId": "3558df77-8a7a-4060-a900-2d7949403836",
"ImageSecretList": [
{
"Name": "reg-123****",
"Registry": "registry-vpc.cn-hangzhou.aliyuncs.com",
"Username": "admin"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. Check the parameter configuration. | Invalid parameter. Check the parameter configuration. |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 400 | InvalidParameter.Appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | The format of the input application ID is incorrect. You can use the ListEdgeContainerApps API to obtain the application ID. |
| 404 | InvalidApp.NotFound | The application does not exist. Check whether the application ID you specified is correct and try again. | The application does not exist. Check whether the application ID you specified is correct and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.