aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-components.proto
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-01-04 10:12:01 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-01-05 17:30:17 +0100
commitde4bd7cf6c5ac9dba12040b19635ab4305ce2bde (patch)
tree478f5732b6470741991507e2822d757adc2c65de /sonar-ws/src/main/protobuf/ws-components.proto
parent094521fd01f0f37ad98e2b28217a3f569be14609 (diff)
downloadsonarqube-de4bd7cf6c5ac9dba12040b19635ab4305ce2bde.tar.gz
sonarqube-de4bd7cf6c5ac9dba12040b19635ab4305ce2bde.zip
SONAR-7131 WS components/show show one component and its ancestors
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-components.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-components.proto7
1 files changed, 7 insertions, 0 deletions
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;