From 2cbeaa30237eb9188a55c53eae795a0a5265ecc0 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 19 Jan 2016 15:03:31 +0100 Subject: SONAR-7129 WS api/components/tree baseComponent and refId in response --- sonar-ws/src/main/protobuf/ws-components.proto | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'sonar-ws') 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; } -- cgit v1.2.3