ListCloudApps

Updated at:

Queries a list of cloud applications and supports paging in a paged query.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vs:ListCloudApps

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

AppId

string

No

The ID of the cloud application, which corresponds to a unique application package.

cap-b06b26edfhytbn b94a75ae1a79efc90eb

AppName

string

No

The name of the application.

com.aaa.bbb

AppVersion

string

No

The version of the application.

1.0

PkgType

string

No

The type of the installation package. Valid values:

  • android

  • win

  • android_appmarket

Valid values:

  • android_appmarket :

    Android app market.

  • android :

    Android app.

  • win :

    Windows app.

android

PageNumber

integer

No

The page number of the list to query. Pages start from 1. Default value: 1.

1

PageSize

integer

No

Settings for the number of entries to return on each page during paging for a paged query. Valid values: 1 to 100. Default value: 10.

10

StartTime

string

No

The start time of the time range filter. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

2021-09-29T16:00:00Z

EndTime

string

No

The start time of the time range filter. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

2021-09-30T02:23:00Z

LatestVersionOnly

boolean

No

Specifies whether to return only the latest submitted version of the application. Default value: false.

false

PkgLabel

string

No

The label of the cloud application. Valid values:

  • hot

  • game

  • app To query applications without labels, set the value to NULL.

app

Status

string

No

The upload status of the application. Valid values:

  • Success: successful. This is a final state.

  • Failed: failed. This is a final state.

  • Created

  • Doing

Success

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

BEA5625F-8FCF-48F4-851B-CA63946DA664

CloudApps

array<object>

The list of cloud applications.

object

The information about the cloud application.

AppVersion

string

The version of the application.

1.5.0

Status

string

The upload status of the application. Valid values:

  • Created

  • Doing

  • Success: final state

  • Failed: final state

Success

Description

string

The description of the application.

demo

AppId

string

The ID of the application.

cap-b06b26edfhytbn b94a75ae1a79efc90eb

PkgFormat

string

The format of the installation package.

apk

StatusDescription

string

The description of the status.

upload success

UpdateTime

string

The time when the status was last updated. The time is displayed in the ISO 8601 standard with time zone offset in the YYYY-MM-DDTHH:mm:ss+HH:mm format.

2024-05-28T14:48:34+08:00

UploadTime

string

The time when the application was uploaded. The time is displayed in the ISO 8601 standard with time zone offset in the YYYY-MM-DDTHH:mm:ss+HH:mm format.

2024-05-28T14:28:14+08:00

PkgType

string

The type of the installation package, such as android or win.

android

AppName

string

The name of the application.

com.aaa.bbb

StablePatchId

string

The ID of the stable patch package.

patch-7bdf679812484df08a956b73e0b3bdf6

PostCommandPath

string

The relative path of the post-command in the application package. This parameter is supported only for Windows applications.

install.ps1

PostCommandTimeoutSec

integer

The timeout period for executing the post-command, in seconds. This parameter is supported only for Windows applications.

10

TotalCount

integer

The total number of matched cloud applications.

100

PageNumber

integer

The page number of the returned list.

1

PageSize

integer

Settings for the number of entries returned per page during paging for a paged query.

10

Examples

Success response

JSON format

{
  "RequestId": "BEA5625F-8FCF-48F4-851B-CA63946DA664",
  "CloudApps": [
    {
      "AppVersion": "1.5.0",
      "Status": "Success",
      "Description": "demo",
      "AppId": "cap-b06b26edfhytbn b94a75ae1a79efc90eb",
      "PkgFormat": "apk",
      "StatusDescription": "upload success",
      "UpdateTime": "2024-05-28T14:48:34+08:00",
      "UploadTime": "2024-05-28T14:28:14+08:00",
      "PkgType": "android",
      "AppName": "com.aaa.bbb",
      "StablePatchId": "patch-7bdf679812484df08a956b73e0b3bdf6",
      "PostCommandPath": "install.ps1",
      "PostCommandTimeoutSec": 10
    }
  ],
  "TotalCount": 100,
  "PageNumber": 1,
  "PageSize": 10
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.