Queries a list of existing API groups and their basic information.
Operation description
-
This operation is intended for API providers.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DescribeApiGroups |
get |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
No |
The ID of the API group. This ID is generated by the system and globally unique. |
be6d2abcc0dd4f749fc2d2edd6567164 |
| GroupName |
string |
No |
The keyword that can be used to filter API groups by name. |
Traffic |
| PageNumber |
integer |
No |
The page number to return. Pages start from page 1. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. Maximum value: 50. Default value: 10. |
10 |
| EnableTagAuth |
boolean |
No |
Whether to enable tag verification. |
true |
| InstanceId |
string |
No |
The ID of the instance. |
apigateway-cn-v6419k43245xx |
| Sort |
string |
No |
The sort order. Valid values: asc and desc. Default value: desc.
|
desc |
| Tag |
array<object> |
No |
The list of tags. |
|
|
object |
No |
|||
| Key |
string |
No |
The key of the tag. |
key |
| Value |
string |
No |
The value of the tag. |
value |
| BasePath |
string |
No |
The root path of the API. |
/edmdgp/service20250116management01/v1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageNumber |
integer |
The page number of the returned page. |
1 |
| RequestId |
string |
The request ID. |
D6E46F10-F26C-4AA0-BB69-FE2743D9AE62 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
2 |
| ApiGroupAttributes |
object |
||
| ApiGroupAttribute |
array<object> |
The returned API group set. |
|
|
array<object> |
|||
| BasePath |
string |
The base path. |
/v2/ |
| BillingStatus |
string |
The billing status of the API group. Valid values:
|
NORMAL |
| TrafficLimit |
integer |
The upper QPS limit of the API group. Default value: 500. You can request an increase by submitting a ticket. |
500 |
| InstanceId |
string |
The ID of the instance. |
apigateway-cn-v6419k43245xx |
| InstanceType |
string |
The type of the instance. |
VPC_SHARED |
| RegionId |
string |
The region where the API group resides. |
cn-hangzhou |
| ModifiedTime |
string |
The last modification time of the API group in UTC. |
2016-08-01T08:45:15Z |
| GroupId |
string |
The ID of the API group. This ID is generated by the system and globally unique. |
be6d2abcc0dd4f749fc2d2edd6567164 |
| GroupName |
string |
The name of the API group. |
Traffic |
| Description |
string |
The description of the API group. |
TrafficInformations. |
| IllegalStatus |
string |
The validity status of the API group. Valid values:
|
NORMAL |
| HttpsPolicy |
string |
The HTTPS security policy. |
HTTPS2_TLS1_0 |
| SubDomain |
string |
The second-level domain name corresponding to the API group, used as the CNAME target for custom domain names. |
be6d2abcc0dd4f749fc2d2edd6567164-cn-hangzhou.alicloudapi.com |
| CreatedTime |
string |
The creation time of the API group in UTC. |
2016-08-01T08:45:15Z |
| Tags |
object |
||
| TagInfo |
array<object> |
The list of tags. |
|
|
object |
|||
| Key |
string |
The key of the tag. |
key |
| Value |
string |
The value of the tag. |
value |
Examples
Success response
JSON format
{
"PageNumber": 1,
"RequestId": "D6E46F10-F26C-4AA0-BB69-FE2743D9AE62",
"PageSize": 10,
"TotalCount": 2,
"ApiGroupAttributes": {
"ApiGroupAttribute": [
{
"BasePath": "/v2/",
"BillingStatus": "NORMAL",
"TrafficLimit": 500,
"InstanceId": "apigateway-cn-v6419k43245xx",
"InstanceType": "VPC_SHARED",
"RegionId": "cn-hangzhou",
"ModifiedTime": "2016-08-01T08:45:15Z",
"GroupId": "be6d2abcc0dd4f749fc2d2edd6567164",
"GroupName": "Traffic",
"Description": "TrafficInformations.",
"IllegalStatus": "NORMAL",
"HttpsPolicy": "HTTPS2_TLS1_0",
"SubDomain": "be6d2abcc0dd4f749fc2d2edd6567164-cn-hangzhou.alicloudapi.com",
"CreatedTime": "2016-08-01T08:45:15Z",
"Tags": {
"TagInfo": [
{
"Key": "key",
"Value": "value"
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.