aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-components.proto
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-04-20 16:07:59 +0200
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-04-24 11:45:27 +0200
commit70c5d0b38896e0d431d8d687d397f7e17919cef9 (patch)
tree2e8de9aadc9b45c22ce51d7d992d1bac2613ae10 /sonar-ws/src/main/protobuf/ws-components.proto
parent6f743e36c112706f3e63208ff0ee4e6e0e61d5aa (diff)
downloadsonarqube-70c5d0b38896e0d431d8d687d397f7e17919cef9.tar.gz
sonarqube-70c5d0b38896e0d431d8d687d397f7e17919cef9.zip
let api/projects/provisioned use protobuf
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-components.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-components.proto15
1 files changed, 15 insertions, 0 deletions
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;