aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-01-19 15:03:31 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-01-19 17:32:24 +0100
commit2cbeaa30237eb9188a55c53eae795a0a5265ecc0 (patch)
treef1a6c42b3d46c76a3d7a5c532c718693af55d239 /sonar-ws
parent43921be268c12f2175555a521d52aa84b0f0cce2 (diff)
downloadsonarqube-2cbeaa30237eb9188a55c53eae795a0a5265ecc0.tar.gz
sonarqube-2cbeaa30237eb9188a55c53eae795a0a5265ecc0.zip
SONAR-7129 WS api/components/tree baseComponent and refId in response
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-components.proto19
1 files changed, 10 insertions, 9 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto
index d9e86b0e0e4..9ff36b851a5 100644
--- a/sonar-ws/src/main/protobuf/ws-components.proto
+++ b/sonar-ws/src/main/protobuf/ws-components.proto
@@ -35,8 +35,8 @@ message SearchWsResponse {
// WS api/components/tree
message TreeWsResponse {
optional sonarqube.ws.commons.Paging paging = 1;
- optional string projectId = 2;
- repeated Component components = 3;
+ optional Component baseComponent = 3;
+ repeated Component components = 4;
}
// WS api/components/show
@@ -48,11 +48,12 @@ message ShowWsResponse {
message Component {
optional string id = 1;
- optional string key = 2;
- optional string projectId = 3;
- optional string name = 4;
- optional string description = 5;
- optional string qualifier = 6;
- optional string path = 7;
- optional string language = 8;
+ optional string refId = 2;
+ optional string key = 3;
+ optional string projectId = 4;
+ optional string name = 5;
+ optional string description = 6;
+ optional string qualifier = 7;
+ optional string path = 8;
+ optional string language = 9;
}