All Products
Search
Document Center

ApsaraVideo VOD:GetAppInfos

Last Updated:Jul 19, 2024

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

Operation description

You can specify multiple accelerated domain names in a request.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AppIdsstringYes

The IDs of applications. You can obtain application IDs from the response to the CreateAppInfo or ListAppInfo operation.

  • You can specify a maximum of 10 application IDs.
  • Separate application IDs with commas (,).
app-****

Response parameters

ParameterTypeDescriptionExample
object

The returned results.

RequestIdstring

The ID of the request.

25818875-5F78-4A13-4DC4-D7393642****
NonExistAppIdsarray

The IDs of applications that do not exist.

string

The ID of the application that does not exist.

app-12****
AppInfoListarray<object>

The details of each application.

object

The details of each application.

Typestring

The type of the application. Valid values:

  • System
  • Custom
System
Statusstring

The status of the application. Valid values:

  • Normal
  • Disable
Normal
CreationTimestring

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

2019-03-01T08:00:00Z
AppNamestring

The name of the application.

test
Descriptionstring

The description of the application.

my first app.
AppIdstring

The ID of the application.

app-****
ModificationTimestring

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

2019-03-01T09:00:00Z
Codestring

The HTTP status code that is returned.

200

Examples

Sample success responses

JSONformat

{
  "RequestId": "25818875-5F78-4A13-4DC4-D7393642****",
  "NonExistAppIds": [
    "app-12****"
  ],
  "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"
    }
  ],
  "Code": "200"
}

Error codes

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

Common errors

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

Error codeError messageHTTP status codeDescription
OperationDenied.NotOpenAppServiceThe app service is not open.403The error message returned because the multi-application service has not been activated.