跳到主要内容

获取应用访问策略列表

基本信息

获取应用访问策略列表

请求路径
GET /openapi/v1/teams/{team_id}/regions/{region_name}/apps/{app_id}/domains

请求参数

名称位置类型必选中文名说明
app_idpathinteger应用ID
team_idpathstringnone
region_namepathstringnone

返回结果

状态码状态码含义说明数据模型
200OK成功GatewayRule

模型

GatewayRule

{
"http": [
{
"ID": 0,
"rule_extensions": [
"string"
],
"http_rule_id": "string",
"region_id": "string",
"tenant_id": "string",
"service_id": "string",
"service_name": "string",
"domain_name": "string",
"container_port": -2147483648,
"protocol": "string",
"certificate_id": -2147483648,
"domain_type": "string",
"service_alias": "string",
"is_senior": true,
"domain_path": "string",
"domain_cookie": "string",
"domain_heander": "string",
"type": -2147483648,
"the_weight": -2147483648,
"is_outer_service": true,
"auto_ssl": true,
"auto_ssl_config": "string",
"path_rewrite": true,
"rewrites": "string"
}
],
"tcp": [
{
"ID": 0,
"tcp_rule_id": "string",
"region_id": "string",
"tenant_id": "string",
"service_id": "string",
"service_name": "string",
"end_point": "string",
"protocol": "string",
"container_port": -2147483648,
"service_alias": "string",
"type": -2147483648,
"rule_extensions": "string",
"is_outer_service": true
}
]
}

属性

名称类型必选约束中文名说明
http[HTTPGatewayRule]falsenonenone
tcp[TCPGatewayRule]falsenonenone