All Products
Search
Document Center

ApsaraVideo VOD:GetAppInfos

Last Updated:May 22, 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

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
vod:GetAppInfosList
  • All Resources
    *
    none
none

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****
AppInfoListobject []

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.