API网关 APIG-查看流控策略绑定的API列表:响应消息

时间:2023-11-01 16:18:59

响应消息

表3 参数说明

名称

类型

说明

total

Integer

满足条件的API总数

size

Integer

本次返回的API列表长度

apis

字典数据类型

本次查询返回的API列表

表4 apis参数说明

参数

类型

说明

id

String

API编号

name

String

API名称

group_id

String

API所属分组的编号

group_name

String

API所属分组的名称

type

Integer

API类型

remark

String

API描述

run_env_name

String

发布的环境名

run_env_id

String

发布的环境编号

publish_id

String

发布记录的编号

throttle_apply_id

String

与流控策略的绑定关系编号

throttle_name

String

绑定的流控策略名称

apply_time

Timestamp

与已绑定的流控策略的绑定时间

auth_type

String

API的认证方式

req_uri

String

API的访问地址

响应消息样例:

{"total": 2,"size": 2,"apis": [{"id": "5bbc47e2-95b0-4a56-904e-a3cdc422f8e9","name": "查询分组列表","type": 1,"remark": "查询分组列表","group_id": "73c58022-f20d-495a-a188-85d718647f09","group_name": "api_group_001","run_env_name": "RELEASE","run_env_id": "DEFAULT_ENVIRONMENT_RELEASE_ID","publish_id": "65e6fe53-1ac3-4481-ba36-9f0bc6f22057","throttle_apply_id": "90f05978-06a3-4096-8bea-b5e2fa12b843","throttle_name": "throttle1","apply_time": "2017-12-29T03:01:11.138456Z","auth_type": "APP","req_uri": "/test"},{"id": "6632a062-9dcf-4f18-9646-3cabb925a290","name": "查询API列表","type": 1,"remark": "查询API列表","group_id": "73c58022-f20d-495a-a188-85d718647f09","group_name": "api_group_001","run_env_name": "RELEASE","run_env_id": "DEFAULT_ENVIRONMENT_RELEASE_ID","publish_id": "374a6d5a-20c7-4ea1-82e1-19fce4556956","throttle_apply_id": "507c6a9f-8322-4dc2-8ba5-b4d74e3690d3","throttle_name": "throttle1","apply_time": "2017-12-29T03:01:11.138456Z","auth_type": "APP","req_uri": "/test"}]}
support.huaweicloud.com/api-apig/apig-api-180713073.html