diff options
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-components.proto')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-components.proto | 19 |
1 files changed, 10 insertions, 9 deletions
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; } |