aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-qualitygates.proto
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-qualitygates.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualitygates.proto15
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;
+ }
+}
+