aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2017-08-16 10:15:04 +0200
committerJanos Gyerik <janos.gyerik@sonarsource.com>2017-09-12 10:59:56 +0200
commit2666f225879148e335913d1ea4247c33397961e8 (patch)
tree02a39064503e0edb1b228f49d8c935e2c8effd9d /sonar-ws
parent6affc4080d8b98d499174f64e2c86c84cbd2872d (diff)
downloadsonarqube-2666f225879148e335913d1ea4247c33397961e8.tar.gz
sonarqube-2666f225879148e335913d1ea4247c33397961e8.zip
SONAR-9616 Do not return project in api/projectbranches ws
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-projectbranches.proto9
1 files changed, 4 insertions, 5 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-projectbranches.proto b/sonar-ws/src/main/protobuf/ws-projectbranches.proto
index 8054febfafc..4500dc5a784 100644
--- a/sonar-ws/src/main/protobuf/ws-projectbranches.proto
+++ b/sonar-ws/src/main/protobuf/ws-projectbranches.proto
@@ -37,12 +37,11 @@ message ShowWsResponse {
message Branch {
optional string name = 1;
- optional string project = 2;
- optional bool isMain = 3;
- optional BranchType type = 4;
+ optional bool isMain = 2;
+ optional BranchType type = 3;
// Merge branch is only present for short living branch
- optional string mergeBranch = 5;
- optional Status status = 6;
+ optional string mergeBranch = 4;
+ optional Status status = 5;
message Status {
// Quality gate status is only present for long living branch