aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorGuillaume Jambet <guillaume.jambet@sonarsource.com>2017-12-07 16:59:56 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2017-12-14 17:03:35 +0100
commit6c468901399f7ebfad132e66081c33f04f568735 (patch)
tree4dd1891feb6e12948b7cc66d78ce7283b30995e1 /sonar-ws
parent6de5e4f3d0630a7269625c5c855cbc7205e413d2 (diff)
downloadsonarqube-6c468901399f7ebfad132e66081c33f04f568735.tar.gz
sonarqube-6c468901399f7ebfad132e66081c33f04f568735.zip
SONAR-10134 Bringing Organization to Search Action
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualitygates.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualitygates.proto b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
index 08e1c4570dd..c9b63db5776 100644
--- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
@@ -136,6 +136,18 @@ message ShowWsResponse {
}
}
+// GET api/qualitygates/search
+message SearchResponse {
+ optional bool more = 1;
+ repeated Result results = 2;
+
+ message Result {
+ optional int64 id = 1;
+ optional string name = 2;
+ optional bool selected = 3;
+ }
+}
+
// GET api/qualitygates/list
message ListWsResponse {
repeated QualityGate qualitygates = 1;