diff options
author | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-12-17 16:19:44 +0100 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2015-12-21 12:27:25 +0100 |
commit | 6fe8b0cd64c4b4e2386d994016b465b0386ed09c (patch) | |
tree | 73006c620bed41a2849e4d563aa8c1981de7c38d /sonar-ws/src/main/protobuf/ws-components.proto | |
parent | 8239ac084eb9aaaba9f661a4e2fe5891bda8d452 (diff) | |
download | sonarqube-6fe8b0cd64c4b4e2386d994016b465b0386ed09c.tar.gz sonarqube-6fe8b0cd64c4b4e2386d994016b465b0386ed09c.zip |
SONAR-7129 WS api/components/tree
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-components.proto')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-components.proto | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto index 2f94e41f670..aad40d8cab2 100644 --- a/sonar-ws/src/main/protobuf/ws-components.proto +++ b/sonar-ws/src/main/protobuf/ws-components.proto @@ -28,13 +28,23 @@ option optimize_for = SPEED; // WS api/components/search message SearchWsResponse { - message Component { - optional string id = 1; - optional string key = 2; - optional string qualifier = 3; - optional string name = 4; - } - optional sonarqube.ws.commons.Paging paging = 1; repeated Component components = 2; } + +// WS api/components/tree +message TreeWsResponse { + optional sonarqube.ws.commons.Paging paging = 1; + optional string projectId = 2; + repeated Component components = 3; +} + +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; +} |