summaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-11-22 17:49:49 +0100
committerEric Hartmann <hartmann.eric@gmail.Com>2017-12-04 13:44:55 +0100
commit9c895816c0aefc6443e03e765b03926da7191344 (patch)
treeb29c9244b89d51b9843c44439d9494f450a79e32 /sonar-ws
parentc157750016023b874a701f573be5ed8de9856253 (diff)
downloadsonarqube-9c895816c0aefc6443e03e765b03926da7191344.tar.gz
sonarqube-9c895816c0aefc6443e03e765b03926da7191344.zip
SONAR-10087 Use protobuf in api/qualitygates/list
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualitygates.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualitygates.proto b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
index 36998c537ff..e8f322a112e 100644
--- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
@@ -135,5 +135,18 @@ message ShowWsResponse {
}
}
+// GET api/qualitygates/list
+message ListWsResponse {
+ repeated QualityGate qualitygates = 1;
+ // Deprecated since 7.0
+ optional int64 default = 2;
+
+ message QualityGate {
+ optional int64 id = 1;
+ optional string name = 2;
+ optional bool isDefault = 3;
+ }
+}
+