ListApps

Updated at:

Queries the list of Elasticsearch Serverless applications.

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

es-serverless:ListApps

list

*All Resource

*

None None

Request syntax

GET /openapi/es-serverless/instances HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

appName

string

No

The name of the application.

es-severless-test-app

description

string

No

The description of the application.

metrics-logs-online

pageNumber

integer

No

The page number Settings for paging in a paged query.

1

pageSize

integer

No

The number of entries per page.

10

createTime

string

No

The creation time of the application. Filters applications created at or after the specified time. The time is in the YYYY-MM-DDThh:mm:ssZ format.

2023-08-29T02:37:22Z

status

string

No

The status of the application. Valid values:

  • ACTIVE: Normal.

  • INIT: Creating.

  • INACTIVE: Frozen.

ACTIVE

orderType

string

No

The sort order by application creation time. Default value: desc. Valid values:

  • asc: Ascending order.

  • desc: Descending order.

desc

tags

string

No

Response elements

Element

Type

Description

Example

object

The response body structure.

totalCount

integer

The total number of records.

4

result

array<object>

The result array.

array<object>

AppItemType

appName

string

The name of the application.

es-severless-test-app

ownerId

string

The UID of the Alibaba Cloud account to which the application belongs.

*********7595

regionId

string

The region ID.

cn-hangzhou

status

string

The status of the application.

ACTIVE

createTime

string

The creation time.

2022-12-27T07:09:11.000Z

modifiedTime

string

The update time.

2022-12-27T07:09:11.000Z

description

string

The description of the application.

This is a sample application

appId

string

The ID of the application.

test-abc

instanceId

string

The instance ID.

es-serverless-***17-character ID**

version

string

The Edition.

7.10

appType

string

The application type. A value of STANDARD indicates Enterprise Edition.

STANDARD

tags

array<object>

The list of tags for the application. Each tag consists of a key and a value.

object

key

string

The key of the tag.

B2

value

string

The value of the tag.

Example

requestId

string

The ID of the request.

2C5DAA30-****-5181-9B87-9D6181016197

Examples

Success response

JSON format

{
  "totalCount": 4,
  "result": [
    {
      "appName": "es-severless-test-app\n",
      "ownerId": "*********7595",
      "regionId": "cn-hangzhou",
      "status": "ACTIVE",
      "createTime": "2022-12-27T07:09:11.000Z",
      "modifiedTime": "2022-12-27T07:09:11.000Z\n",
      "description": "This is a sample application",
      "appId": "test-abc",
      "instanceId": "es-serverless-***17-character ID**",
      "version": "7.10",
      "appType": "STANDARD",
      "tags": [
        {
          "key": "B2",
          "value": "Example"
        }
      ]
    }
  ],
  "requestId": "2C5DAA30-****-5181-9B87-9D6181016197"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.