Retrieves terminal information of an edge container application.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
No |
The application ID. You can call the ListEdgeContainerApps operation to obtain the application ID. Important This parameter is required. If this parameter is not specified, the API returns InvalidParameter.appid(400).
Full dependency chain: CreateEdgeContainerApp → CreateEdgeContainerAppVersion → PublishEdgeContainerAppVersion → Wait for the container status to become Running → Call this API. |
app-88068867578379**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
9732E117-8A37-49FD-A36F-ABBB87556CA7 |
| Pod |
string |
The pod name. |
1775b9e0-8463-457e-89e8-fb7b6d125b2e |
| Cluster |
string |
The cluster name. |
c497b44c2a59f4ae0bd2826edc40a2c6e |
| Namespace |
string |
The namespace name. |
ns1 |
| Container |
string |
The container name. |
worker0 |
| SessionId |
string |
The session ID. |
af22f4xxxxxxxxxxxxxxxxxx |
| Token |
string |
The sharing token information. |
af22f4-xxxxx-xxxx-xxxx-xxxx |
Examples
Success response
JSON format
{
"RequestId": "9732E117-8A37-49FD-A36F-ABBB87556CA7",
"Pod": "1775b9e0-8463-457e-89e8-fb7b6d125b2e",
"Cluster": "c497b44c2a59f4ae0bd2826edc40a2c6e",
"Namespace": "ns1",
"Container": "worker0",
"SessionId": "af22f4xxxxxxxxxxxxxxxxxx",
"Token": "af22f4-xxxxx-xxxx-xxxx-xxxx"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. |
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 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.