Get a list of app access policies

Basic Information

Get a list of app access policies

请求路径

  1. 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

  1. {
  2. "http": [
  3. {
  4. "ID": 0,
  5. "rule_extensions": [
  6. "string"
  7. ],
  8. "http_rule_id": "string",
  9. "region_id": "string",
  10. "tenant_id ": "string",
  11. "service_id": "string",
  12. "service_name": "string",
  13. "domain_name": "string",
  14. "container_port": -2147483648,
  15. "protocol": "string",
  16. "certificate_id": -2147483648,
  17. "domain_type": "string",
  18. "service_alias": "string",
  19. "is_senior": true,
  20. "domain_path": "string",
  21. "domain_cookie": "string" ,
  22. "domain_heander": "string",
  23. "type": -2147483648,
  24. "the_weight": -2147483648,
  25. "is_outer_service": true,
  26. "auto_ssl": true,
  27. "auto_ssl_config": "string",
  28. "path_rewrite": true,
  29. "rewrites": "string"
  30. }
  31. ],
  32. "tcp": [
  33. {
  34. "ID": 0,
  35. "tcp_rule_id": "string",
  36. "region_id": "string ",
  37. "tenant_id": "string",
  38. "service_id": "string",
  39. "service_name": "string",
  40. "end_point": "string",
  41. "protocol": "string",
  42. "container_port ": -2147483648,
  43. "service_alias": "string",
  44. "type": -2147483648,
  45. "rule_ extensions": "string",
  46. "is_outer_service": true
  47. }
  48. ]
  49. }

Attributes

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