Queries a list of applications and their basic information.
Operation description
This is an API-only feature.
The AppId parameter is optional.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeAppAttributes |
get |
*App
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
integer |
No |
The ID of the application. |
20112314518278 |
| AppName |
string |
No |
The name of the application. |
testApp |
| PageNumber |
integer |
No |
The page number to query. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page for a paged query. The maximum value is 100. The default value is 10. |
10 |
| AppCode |
string |
No |
The AppCode of the application. |
23552160 |
| AppKey |
string |
No |
The key of the application. This key is used to call the API. |
203708622 |
| Sort |
string |
No |
The sorting order. The default value is desc. Valid values:
|
desc |
| EnableTagAuth |
boolean |
No |
Specifies whether to enable tag authentication. |
true |
| Tag |
array<object> |
No |
The tags used to filter applications. You can specify up to 20 tags. |
Key, Value |
|
object |
No |
The tags used to filter applications. You can specify multiple tags. |
||
| Key |
string |
Yes |
The key of the tag. The value of n ranges from 1 to 20. |
env |
| Value |
string |
No |
Specifies the tag key. The value of n must be in the range |
' ' |
| Extend |
string |
No |
Extended information. |
110243810311 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageNumber |
integer |
The returned page number. |
1 |
| RequestId |
string |
The request ID. |
8883AC74-259D-4C0B-99FC-0B7F9A588B2F |
| PageSize |
integer |
The number of entries returned on each page. |
10 |
| TotalCount |
integer |
The total number of entries. |
1 |
| Apps |
object |
||
| AppAttribute |
array<object> |
An array of AppAttribute objects that contain information about the applications. |
|
|
array<object> |
|||
| AppName |
string |
The name of the application. |
CreateApptest |
| ModifiedTime |
string |
The time when the application was last modified. The time is in GMT. |
2016-07-31T04:10:19Z |
| Description |
string |
The description of the application. |
App test |
| CreatedTime |
string |
The time when the application was created. The time is in GMT. |
2016-07-31T04:10:19Z |
| AppId |
integer |
The ID of the application. |
20112314518278 |
| Extend |
string |
Extended information. |
110461946884 |
| Disabled |
boolean |
||
| Tags |
object |
||
| TagInfo |
array<object> |
The list of tags. |
|
|
object |
|||
| Key |
string |
The tag key. |
appid |
| Value |
string |
The tag value. |
123 |
Examples
Success response
JSON format
{
"PageNumber": 1,
"RequestId": "8883AC74-259D-4C0B-99FC-0B7F9A588B2F",
"PageSize": 10,
"TotalCount": 1,
"Apps": {
"AppAttribute": [
{
"AppName": "CreateApptest",
"ModifiedTime": "2016-07-31T04:10:19Z",
"Description": "App test",
"CreatedTime": "2016-07-31T04:10:19Z",
"AppId": 20112314518278,
"Extend": "110461946884",
"Disabled": true,
"Tags": {
"TagInfo": [
{
"Key": "appid",
"Value": "123"
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.