diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-09-19 18:07:47 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2016-09-22 14:10:30 +0200 |
commit | 1d8455866b14fc692bfebe2de64e4437438a5ce8 (patch) | |
tree | 7622a2d48dbdee11b2ac5924f56917a1740e041a /sonar-ws | |
parent | fe748d13bd9ecd4b24e1a4c088a51ee362b6a61f (diff) | |
download | sonarqube-1d8455866b14fc692bfebe2de64e4437438a5ce8.tar.gz sonarqube-1d8455866b14fc692bfebe2de64e4437438a5ce8.zip |
SONAR-8116 Return rating metrics in api/qualitygates/app
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-qualitygates.proto | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualitygates.proto b/sonar-ws/src/main/protobuf/ws-qualitygates.proto index 514a5341a37..a8b26096d13 100644 --- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto +++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto @@ -76,3 +76,18 @@ message QualityGate { optional string name = 2; optional bool default = 3; } + +// GET api/qualitygates/app +message AppWsResponse { + optional bool edit = 1; + repeated Metric metrics = 3; + + message Metric { + optional string key = 1; + optional string name = 2; + optional string type = 3; + optional string domain = 4; + optional bool hidden = 5; + } +} + |