diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2017-11-22 17:49:49 +0100 |
---|---|---|
committer | Eric Hartmann <hartmann.eric@gmail.Com> | 2017-12-04 13:44:55 +0100 |
commit | 9c895816c0aefc6443e03e765b03926da7191344 (patch) | |
tree | b29c9244b89d51b9843c44439d9494f450a79e32 /sonar-ws | |
parent | c157750016023b874a701f573be5ed8de9856253 (diff) | |
download | sonarqube-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.proto | 13 |
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; + } +} + |