diff options
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; +} |