ListPublishedAppInfo
Retrieves a list of published applications.
Operation description
Before you begin.
Authentication method
This API operation is an anonymous API operation for end users. It uses the end-user session authentication model and does not use standard AccessKey (AK/SK) signatures or Resource Access Management (RAM) authentication. When you call this operation, you must provide both LoginToken and SessionId. The server uses these parameters to verify the logon status of the end user. If either parameter is missing, a 400 error is returned with the error code InvalidParameter.loginToken or InvalidParameter.sessionId.
Obtain LoginToken and SessionId
Before you call this API operation, you must call the GetLoginToken operation of the appstream-center 2021-02-20 version to authenticate the end user. This operation is not provided in the current version (2021-09-03).
Required parameters and methods for obtaining them for GetLoginToken:
ClientId: Required. The unique ID generated by the client to identify the client that initiates the logon. Reuse the same value within the same session.
LoginIdentifier: The enterprise identifier, which is the enterprise ID. The administrator obtains it from the WUYING Cloud App console and provides it to the end user. Note that the request parameter name is LoginIdentifier. TenantAlias is the enterprise identifier field in the response of GetLoginToken and cannot be passed as a request parameter.
EndUserId: The username of the convenience account or AD domain account. When you use username and password authentication, you must set CurrentStage to ADPassword and provide both EndUserId and Password.
Authentication flow
Call GetLoginToken for the first time and save the returned LoginToken and SessionId. SessionId is returned only during the first call in the same session. You must reuse this value for subsequent calls.
If NextStage (such as MFAVerify or TokenVerify) is returned, you must carry the same SessionId and ClientId, set CurrentStage to the value of NextStage, and provide the parameters required for this stage. Repeat the call until you obtain the final LoginToken.
Use the final LoginToken and SessionId to call this operation (ListPublishedAppInfo). You can also update and obtain LoginToken by calling the RefreshLoginToken operation of the 2021-02-20 version.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientId |
string |
No |
The unique ID generated by the client. |
17b38aaa-761f-44c5-9862-2ad0f5025d15 |
| LoginToken |
string |
No |
The logon credential. LoginToken is an encrypted string in v2 format with Base64 encoding and must be obtained through a user authentication session. After the client completes the user authentication flow, the authentication service returns LoginToken, which must be used together with the SessionId returned in the same authentication. RefreshLoginToken belongs to the appstream-center 2021-02-20 version. This operation is not provided in the current version (2021-09-03). This parameter is required. The required field in the OpenAPI metadata is marked as false, which does not reflect the actual constraint. Please refer to this description. If this parameter is not provided, the service returns a 400 fault with the error code InvalidParameter.loginToken. For the method to obtain this parameter, see "Before you begin" in the operation description. |
v2c4e2ef03d62****** |
| EndUserId |
string |
No |
The username of the convenience account. |
test.test |
| SessionId |
string |
No |
The session ID. Obtained through the GetLoginToken logon operation. Response parameter: SessionId. Note: This parameter is actually required and must be provided together with LoginToken. If this parameter is not provided, the API operation returns InvalidParameter.sessionId (400). |
c261a6a1-e242-4f4b-813c-5fe807e49f03 |
| ClientOS |
string |
No |
The operating system of the client. |
windows_\"Windows 10 Enterprise\" 10.0 (Build 14393) |
| ClientVersion |
string |
No |
The version of the client. |
2.0.1-D-20211008.101607 |
| ClientIp |
string |
No |
The IP address of the client. |
125.80.132.13 |
| ProductType |
string |
No |
The product type. Valid values:
|
CloudApp |
| BizRegionId |
string |
No |
The region ID of the delivery group. For more information about supported regions, see Limits. |
cn-hangzhou |
| LoginRegionId |
string |
No |
The region ID of appstream-center. |
cn-shanghai |
| CategoryType |
integer |
No |
The primary category of the application. Valid values:
|
1 |
| CategoryId |
integer |
No |
The specific category information of the application, which is the secondary category. Valid values:
|
1 |
| AppName |
string |
No |
The name of the application. You can use this parameter to perform a fuzzy search based on the application name. |
Microsoft Word |
| OrderParam |
string |
No |
The sort field. By default, applications are sorted by application name. |
APP_NAME |
| SortType |
string |
No |
The sort order. By default, applications are sorted in descending order. |
DESC |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
DB70F8FE-63A3-587B-8560-CEC258E8B944 |
| NextToken |
string |
The starting token for the next query. |
2NVfhLfgy5b3J5iJyoLQ6x4EULMg1hbhgB9NfnvdK9oj5zwxd17j4TuQkZze3RvhEvBinZYjknujF3Q1M |
| AppModels |
array<object> |
The list of published applications. |
|
|
object |
The application information. |
||
| AppId |
string |
The application ID. |
ca-fxwp4koyr5y2sp4mz |
| AppName |
string |
The application name. |
Microsoft Word |
| AppVersion |
string |
The application version number. |
R2021a |
| AppVersionName |
string |
The application version name. |
v1.0 |
| IconUrl |
string |
The URL of the application icon. |
https://app-streaming-icon-prod-shanghai.oss-cn-shanghai.aliyuncs.com/tenant/1973619010349344/1634523814270_Matlab.png |
| IsAuth |
boolean |
Indicates whether the user has permissions. A value of true indicates that the user has permissions. |
True |
| UsedInSession |
boolean |
Indicates whether the application is in use. |
True |
| AppCenterImageId |
string |
The ID of the application image. You can obtain the ID from the Images page in the WUYING Cloud App console. |
img-f37nddbjc1lje14st |
| CategoryType |
integer |
The primary category of the application. Valid values:
|
1 |
| CategoryId |
integer |
The specific category information of the application, which is the secondary category. Valid values:
|
2 |
| AppThemeColor |
string |
The theme color of the application. |
#FFFFFF |
| AuthTime |
string |
The authorization time of the application.
The return value is a serialized datetime string from the server in the format of |
Wed Jan 14 20:47:02 CST 2026 |
Examples
Success response
JSON format
{
"RequestId": "DB70F8FE-63A3-587B-8560-CEC258E8B944",
"NextToken": "2NVfhLfgy5b3J5iJyoLQ6x4EULMg1hbhgB9NfnvdK9oj5zwxd17j4TuQkZze3RvhEvBinZYjknujF3Q1M",
"AppModels": [
{
"AppId": "ca-fxwp4koyr5y2sp4mz",
"AppName": "Microsoft Word",
"AppVersion": "R2021a",
"AppVersionName": "v1.0",
"IconUrl": "https://app-streaming-icon-prod-shanghai.oss-cn-shanghai.aliyuncs.com/tenant/1973619010349344/1634523814270_Matlab.png",
"IsAuth": true,
"UsedInSession": true,
"AppCenterImageId": "img-f37nddbjc1lje14st",
"CategoryType": 1,
"CategoryId": 2,
"AppThemeColor": "#FFFFFF",
"AuthTime": "Wed Jan 14 20:47:02 CST 2026"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NOT_LOGIN | You are not logged in or your login token has expired. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.