All Products
Search
Document Center

App Streaming:GetDebugAppInstance

Last Updated:Dec 17, 2025

Queries information that is used to debug an application instance.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
appstreaming:GetDebugAppInstanceget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
ProductTypestringYes

The product type.

Valid value:

  • CloudApp: App Streaming
CloudApp
AppInstanceGroupIdstringYes

The ID of the delivery group. You can call the listAppInstanceGroup operation to obtain the ID.

aig-9ciijz60n4xsv****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****
AppInstanceGroupIdstring

The ID of the delivery group.

aig-9ciijz60n4xsv****
AppInstanceIdstring

The ID of the application instance.

ai-7ybdeiyoeh5e****
AppIdstring

The application ID.

__DEBUG_APP
UserIdstring

The user ID.

__debug__
AuthCodestring

The authorization code. This authorization code is valid for 3 minutes and can be used only once, regardless of whether the authentication succeeds. If multiple authentication codes are generated for a user, only the latest authentication code takes effect.

e4e169bea1cc48e8afac53**********
AppVersionstring

The ID of the application version.

1.1

You can concatenate a URL to obtain the connection information based on the response parameters. Example:

<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****

Note Replace <https://wuying.aliyun.com/appMyBank> based on your actual business.

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
  "AppInstanceGroupId": "aig-9ciijz60n4xsv****",
  "AppInstanceId": "ai-7ybdeiyoeh5e****",
  "AppId": "__DEBUG_APP",
  "UserId": "__debug__",
  "AuthCode": "e4e169bea1cc48e8afac53**********",
  "AppVersion": 1.1
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history