Retrieves the information about a debug application instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:GetDebugAppInstance |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProductType |
string |
Yes |
The product type. Valid values:
|
CloudApp |
| AppInstanceGroupId |
string |
Yes |
The delivery group ID. You can obtain this value by calling the listAppInstanceGroup operation. |
aig-9ciijz60n4xsv**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
1CBAFFAB-B697-4049-A9B1-67E1FC5F**** |
| AppInstanceGroupId |
string |
The delivery group ID. |
aig-9ciijz60n4xsv**** |
| AppInstanceId |
string |
The application instance ID. |
ai-7ybdeiyoeh5e**** |
| AppId |
string |
The application ID. |
__DEBUG_APP |
| UserId |
string |
The user ID. |
__debug__ |
| AuthCode |
string |
The authorization code. The authorization code is valid for 3 minutes and can be used only once regardless of whether the verification succeeds or fails. If multiple authorization codes are generated for a user, only the last generated code is valid. |
e4e169bea1cc48e8afac53********** |
| AppVersion |
string |
The application version ID. |
1.1 |
Based on the returned parameters, you can concatenate a URL to obtain the connection information. The following example shows how to concatenate the URL:
<https://wuying.aliyun.com/appMyBank>?AppId=__DEBUG_APP&AppVersion=1.0&AppInstanceGroupId=aig-5wfetbb7aovy8****&Env=online&AppInstanceId=ai-c7ruhxqww38ws****&AuthCode=acv2j%2BqjU3GAIBVOz33KxdcVyHJ58Dc2N2GC3ZpWNu9Q3zX84cxbNJcPX5enF%2BPePBEgBHxvF28QQcUOjgMk5tHgQKbe%2FUXbIDfg83vN7C3XMzkXo8ByHepfSLQwFLdP4S83zA327ugaB1w1pNnDwhbSvkfRmTA3JOc%2FNEqNs6w%2FePg5NmS4bRhodpYkb4wL****.
Replace <https://wuying.aliyun.com/appMyBank> based on your actual business requirements.
Examples
Success response
JSON format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
"AppInstanceGroupId": "aig-9ciijz60n4xsv****",
"AppInstanceId": "ai-7ybdeiyoeh5e****",
"AppId": "__DEBUG_APP",
"UserId": "__debug__",
"AuthCode": "e4e169bea1cc48e8afac53**********",
"AppVersion": "1.1"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.