aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/developers/DevelopersService.java2
-rw-r--r--sonar-ws/src/main/protobuf/ws-developers.proto24
2 files changed, 25 insertions, 1 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/developers/DevelopersService.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/developers/DevelopersService.java
index 58cf6677b11..e41538fb157 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/developers/DevelopersService.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/developers/DevelopersService.java
@@ -49,6 +49,6 @@ public class DevelopersService extends BaseService {
.setParam("from", request.getFrom() == null ? null : request.getFrom().stream().collect(Collectors.joining(",")))
.setParam("projects", request.getProjects() == null ? null : request.getProjects().stream().collect(Collectors.joining(",")))
.setMediaType(MediaTypes.JSON)
- ).content();
+ ).content();
}
}
diff --git a/sonar-ws/src/main/protobuf/ws-developers.proto b/sonar-ws/src/main/protobuf/ws-developers.proto
new file mode 100644
index 00000000000..a59cb7a3f5a
--- /dev/null
+++ b/sonar-ws/src/main/protobuf/ws-developers.proto
@@ -0,0 +1,24 @@
+// Copyright (C) 2017-2017 SonarSource SA
+// All rights reserved
+// mailto:info AT sonarsource DOT com
+
+syntax = "proto2";
+
+package sonarqube.ws.component;
+
+option java_package = "org.sonarqube.ws";
+option java_outer_classname = "Developers";
+option optimize_for = SPEED;
+
+// WS api/developers/search_events
+message SearchEventsWsResponse {
+ repeated Event events = 1;
+
+ message Event {
+ optional string category = 1;
+ optional string message = 2;
+ optional string link = 3;
+ optional string project = 4;
+ optional string date = 5;
+ }
+}