查询API分组列表__API分组相关接口_API_API 网关-阿里云
描述
用于查询当前存在的API分组列表及基本信息
- 此功能面向API提供者
请求参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
Action | String | 是 | 接口名称,系统规定参数,取值:DescribeApiGroups |
GroupId | String | 否 | API分组 ID,系统生成,全局唯一 |
GroupName | String | 否 | API组名称中,可指定的关键字 |
PageNumber | Integer | 否 | 指定要查询的页码,默认是1,起始是1 |
PageSize | Integer | 否 | 指定分页查询时每页行数,最大值50,默认值为10 |
返回参数
名称 | 类型 | 描述 |
---|---|---|
RequestId | String | 请求唯一标识 |
TotalCount | Integer | 返回结果的总条数 |
PageNumber | Integer | 返回指定的页码 |
PageSize | Integer | 返回指定的每页条数 |
ApiGroupAttributes | ApiGroupAttribute | 返回分组集合 |
示例
请求示例
https://apigateway.cn-hangzhou.aliyuncs.com?Action=DescribeApiGroups
&<公共请求参数>
返回示例
XML
格式
<DescribeApiGroupsResponse>
<RequestId>D6E46F10-F26C-4AA0-BB69-FE2743D9AE62</RequestId>
<TotalCount>2</TotalCount>
<PageSize>10</PageSize>
<PageNumber>1</PageNumber>
<ApiGroupAttributes>
<ApiGroupAttribute>
<GroupId>be6d2abcc0dd4f749fc2d2edd6567164</GroupId>
<GroupName>Traffic</GroupName>
<SubDomain>be6d2abcc0dd4f749fc2d2edd6567164-cn-hangzhou.alicloudapi.com</SubDomain>
<Description>TrafficInformations.</Description>
<CreatedTime>2016-08-01T08:45:15Z</CreatedTime>
<ModifiedTime>2016-08-01T08:45:15Z</ModifiedTime>
<RegionId>cn-hangzhou</RegionId>
<TrafficLimit>500</TrafficLimit>
<BillingStatus>NORMAL</BillingStatus>
<IllegalStatus>NORMAL</IllegalStatus>
</ApiGroupAttribute>
<ApiGroupAttribute>
<GroupId>927d50c0f2e54b359919923d908bb015</GroupId>
<GroupName>NewWeather</GroupName>
<SubDomain>927d50c0f2e54b359919923d908bb015-cn-hangzhou.alicloudapi.com</SubDomain>
<Description>NewWeatherInformations.</Description>
<CreatedTime>2016-08-01T06:54:32Z</CreatedTime>
<ModifiedTime>2016-08-01T06:54:32Z</ModifiedTime>
<RegionId>cn-hangzhou</RegionId>
<TrafficLimit>500</TrafficLimit>
<BillingStatus>NORMAL</BillingStatus>
<IllegalStatus>NORMAL</IllegalStatus>
</ApiGroupAttribute>
</ApiGroupAttributes>
</DescribeApiGroupsResponse>
JSON
格式
{
"RequestId": "D6E46F10-F26C-4AA0-BB69-FE2743D9AE62",
"TotalCount": "2",
"PageSize": "10",
"PageNumber": "1",
"ApiGroupAttributes": {
"ApiGroupAttribute": [
{
"GroupId": "be6d2abcc0dd4f749fc2d2edd6567164",
"GroupName": "Traffic",
"SubDomain": "be6d2abcc0dd4f749fc2d2edd6567164-cn-hangzhou.alicloudapi.com",
"Description": "TrafficInformations.",
"CreatedTime": "2016-08-01T08:45:15Z",
"ModifiedTime": "2016-08-01T08:45:15Z",
"RegionId": "cn-hangzhou",
"TrafficLimit": "500",
"BillingStatus": "NORMAL",
"IllegalStatus": "NORMAL"
},
{
"GroupId": "927d50c0f2e54b359919923d908bb015",
"GroupName": "NewWeather",
"SubDomain": "927d50c0f2e54b359919923d908bb015-cn-hangzhou.alicloudapi.com",
"Description": "NewWeatherInformations.",
"CreatedTime": "2016-08-01T06:54:32Z",
"ModifiedTime": "2016-08-01T06:54:32Z",
"RegionId": "cn-hangzhou",
"TrafficLimit": "500",
"BillingStatus": "NORMAL",
"IllegalStatus": "NORMAL"
}
]
}
}
最后更新:2016-11-23 17:16:09
上一篇:
查询API分组详情__API分组相关接口_API_API 网关-阿里云
下一篇:
查询环境详情__API分组相关接口_API_API 网关-阿里云
复杂命令示例__最佳实践_命令行工具 CLI-阿里云
新增标签__规则引擎_规则引擎-阿里云
查看弹性公网IP监控信息__监控相关接口_API 参考_云服务器 ECS-阿里云
OSS如何通过sdk获取object的签名URL__技术分享常见问题_对象存储 OSS-阿里云
查询端口转发规则列表__NAT网关相关接口_API 参考_云服务器 ECS-阿里云
调试运行__脚本开发_Lite用户使用手册_性能测试-阿里云
云服务器 ECS 有两种计费模式
消息队列 MQ 使用限制__技术分享_技术运维问题_消息队列 MQ-阿里云
绑定弹性公网 IP__网络相关接口_API 参考_云服务器 ECS-阿里云
动作列表__RAM子用户访问_API-Reference_日志服务-阿里云
相关内容
常见错误说明__附录_大数据计算服务-阿里云
发送短信接口__API使用手册_短信服务-阿里云
接口文档__Android_安全组件教程_移动安全-阿里云
运营商错误码(联通)__常见问题_短信服务-阿里云
设置短信模板__使用手册_短信服务-阿里云
OSS 权限问题及排查__常见错误及排除_最佳实践_对象存储 OSS-阿里云
消息通知__操作指南_批量计算-阿里云
设备端快速接入(MQTT)__快速开始_阿里云物联网套件-阿里云
查询API调用流量数据__API管理相关接口_API_API 网关-阿里云
使用STS访问__JavaScript-SDK_SDK 参考_对象存储 OSS-阿里云