Skip to main content

Get a list of app access policies

Basic Information

Get a list of app access policies

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

request parameters

nameLocationtyperequiredChinese nameillustrate
app_idpathintegerYesApp ID
team_idpathstringYesnone
region_namepathstringYesnone

return result

status codeStatus code meaningillustratedata model
200OKsuccessGatewayRule

Model

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
}
]
}

Attributes

nametyperequiredconstraintChinese nameillustrate
http[HTTPGatewayRule]falsenonenone
tcp[TCPGatewayRule]falsenonenone