Query the list of applications and their basic information.
Operation description
This feature is intended for users who call APIs.
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 |
Specify the page number to query. The default value is 1, and the starting value is 1. |
1 |
| PageSize |
integer |
No |
Specify the number of rows per page for paged query. The maximum value is 100, and the default value is 10. |
10 |
| AppCode |
string |
No |
The AppCode encoding of the application. |
23552160 |
| AppKey |
string |
No |
The application key, used when calling APIs. |
203708622 |
| Sort |
string |
No |
Sort order. The default value is desc. Options are asc and desc.
|
desc |
| EnableTagAuth |
boolean |
No |
Enable tag validation. |
true |
| Tag |
array<object> |
No |
Specify object tags that apply to the rule. You can set multiple tags. |
Key, Value |
|
object |
No |
Specify object tags that apply to the rule. You can set multiple tags. |
||
| Key |
string |
Yes |
The tag value. The value range of n is |
env |
| Value |
string |
No |
The tag key. The value range of n is |
' ' |
| Extend |
string |
No |
Extension 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 returned number of entries per page. |
10 |
| TotalCount |
integer |
The total number of entries in the returned result. |
1 |
| Apps |
object |
||
| AppAttribute |
array<object> |
An array of AppAttribute objects that returns application information. |
|
|
array<object> |
|||
| AppName |
string |
The name of the application. |
CreateApptest |
| ModifiedTime |
string |
Modification time (Greenwich Mean Time). |
2016-07-31T04:10:19Z |
| Description |
string |
The description of the application. |
App test |
| CreatedTime |
string |
Creation time (Greenwich Mean Time). |
2016-07-31T04:10:19Z |
| AppId |
integer |
The application ID. |
20112314518278 |
| Extend |
string |
Extension information. |
110461946884 |
| Disabled |
boolean |
||
| Tags |
object |
||
| TagInfo |
array<object> |
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": false,
"Tags": {
"TagInfo": [
{
"Key": "appid",
"Value": "123"
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.