From de4bd7cf6c5ac9dba12040b19635ab4305ce2bde Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Mon, 4 Jan 2016 10:12:01 +0100 Subject: SONAR-7131 WS components/show show one component and its ancestors --- sonar-ws/src/main/protobuf/ws-components.proto | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sonar-ws/src/main/protobuf/ws-components.proto') diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto index 03ded8c9bb7..d9e86b0e0e4 100644 --- a/sonar-ws/src/main/protobuf/ws-components.proto +++ b/sonar-ws/src/main/protobuf/ws-components.proto @@ -39,6 +39,13 @@ message TreeWsResponse { repeated Component components = 3; } +// WS api/components/show +message ShowWsResponse { + optional sonarqube.ws.commons.Paging paging = 1; + optional Component component = 2; + repeated Component ancestors = 3; +} + message Component { optional string id = 1; optional string key = 2; -- cgit v1.2.3