From 70c5d0b38896e0d431d8d687d397f7e17919cef9 Mon Sep 17 00:00:00 2001 From: Daniel Schwarz Date: Thu, 20 Apr 2017 16:07:59 +0200 Subject: let api/projects/provisioned use protobuf --- sonar-ws/src/main/protobuf/ws-components.proto | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'sonar-ws') diff --git a/sonar-ws/src/main/protobuf/ws-components.proto b/sonar-ws/src/main/protobuf/ws-components.proto index ee32ad94df5..27a36617708 100644 --- a/sonar-ws/src/main/protobuf/ws-components.proto +++ b/sonar-ws/src/main/protobuf/ws-components.proto @@ -87,6 +87,21 @@ message SearchProjectsWsResponse { optional sonarqube.ws.commons.Facets facets = 3; } +// WS api/components/provisioned +message ProvisionedWsResponse { + repeated Component projects = 1; + optional int64 total = 2; + optional int32 p = 3; + optional int64 ps = 4; + + message Component { + optional string uuid = 1; + optional string key = 2; + optional string name = 3; + optional string creationDate = 4; + } +} + message Component { optional string organization = 12; optional string id = 1; -- cgit v1.2.3