DescribeAppAttributes
Queries the list and basic information of applications.
Operation description
This feature is intended for users who call the API.
AppId 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 |
Specifies the page number to query. Default value: 1. Minimum value: 1. |
1 |
| PageSize |
integer |
No |
Specifies the number of entries to return on each page in a paging query. Maximum value: 100. Default value: 10. |
10 |
| AppCode |
string |
No |
The AppCode of the application. |
23552160 |
| AppKey |
string |
No |
The AppKey of the application, which is used when calling the API. |
203708622 |
| Sort |
string |
No |
The sort order. Default value: desc. Valid values:
|
desc |
| EnableTagAuth |
boolean |
No |
Specifies whether to enable tag authentication. |
true |
| Tag |
array<object> |
No |
Specifies the object tags to which the rule applies. You can specify multiple tags. |
Key, Value |
|
object |
No |
Specifies the object tags to which the rule applies. You can specify multiple tags. |
||
| Key |
string |
Yes |
The tag key. The value of n ranges from 1 to 20. |
env |
| Value |
string |
No |
The tag value. The value of n ranges from 1 to 20. |
' ' |
| Extend |
string |
No |
The extended information. |
110243810311 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageNumber |
integer |
The page number returned. |
1 |
| RequestId |
string |
The request ID. |
8883AC74-259D-4C0B-99FC-0B7F9A588B2F |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
1 |
| Apps |
object |
||
| AppAttribute |
array<object> |
The array of AppAttribute objects, which contains the information about the applications. |
|
|
array<object> |
|||
| AppName |
string |
The name of the application. |
CreateApptest |
| ModifiedTime |
string |
The modification time in GMT. |
2016-07-31T04:10:19Z |
| Description |
string |
The description of the application. |
App test |
| CreatedTime |
string |
The creation time in GMT. |
2016-07-31T04:10:19Z |
| AppId |
integer |
The ID of the application. |
20112314518278 |
| Extend |
string |
The extended information. |
110461946884 |
| Disabled |
boolean |
Indicates whether the application is disabled. |
|
| 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": 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.