Queries the information about one or more applications based on application IDs.

Usage note

Supports batch query.

QPS limit

A single user can perform a maximum of 100 queries per second (QPS). Throttling is triggered when the number of calls per second exceeds the QPS limit. The throttling may affect your business. Thus, we recommend that you observe the QPS limit on this operation.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes GetAppInfos

The operation that you want to perform. Set the value to GetAppInfos.

AppIds String Yes app-****

The ID of the application. You can specify a maximum of 10 application IDs. Separate them with commas (,).

Response parameters

Parameter Type Example Description
AppInfoList Array of AppInfo

The details of each application.

AppId String app-****

The ID of the application.

AppName String test

The name of the application.

CreationTime String 2019-03-01T08:00:00Z

The time when the application was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

Description String my first app.

The description of the application.

ModificationTime String 2019-03-01T09:00:00Z

The last time when the application was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

Status String Normal

The status of the application. Valid values:

  • Normal
  • Disable
Type String System

The type of the application. Valid values:

  • System
  • Custom
NonExistAppIds List ****

The ID of the application that was not found.

RequestId String 25818875-5F78-4A13-4DC4-D7393642****

The ID of the request.

Examples

Sample requests

http(s)://vod.cn-shanghai.aliyuncs.com/?Action=GetAppInfos
&AppIds=app-****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<GetAppInfosResponse>
    <RequestId>25818875-5F78-4A13-4DC4-D7393642****</RequestId>
    <NonExistAppIds>1</NonExistAppIds>
    <AppInfoList>
        <Type>System</Type>
        <Status>Normal</Status>
        <CreationTime>2019-03-01T08:00:00Z</CreationTime>
        <AppName>test</AppName>
        <Description>my first app.</Description>
        <AppId>app-****</AppId>
        <ModificationTime>2019-03-01T09:00:00Z</ModificationTime>
    </AppInfoList>
</GetAppInfosResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "25818875-5F78-4A13-4DC4-D7393642****",
  "NonExistAppIds" : [ "1" ],
  "AppInfoList" : [ {
    "Type" : "System",
    "Status" : "Normal",
    "CreationTime" : "2019-03-01T08:00:00Z",
    "AppName" : "test",
    "Description" : "my first app.",
    "AppId" : "app-****",
    "ModificationTime" : "2019-03-01T09:00:00Z"
  } ]
}

Error codes

For a list of error codes, visit the API Error Center.

Common errors

The following table describes the common errors that this operation can return.

Error code

Error message

HTTP status code

Description

OperationDenied.NotOpenAppService

The app service is not open.

403

The error message returned because the multi-application service has not been activated.