aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorGuillaume Jambet <guillaume.jambet@sonarsource.com>2018-02-15 14:54:15 +0100
committerGuillaume Jambet <guillaume.jambet@gmail.com>2018-03-01 15:21:05 +0100
commitd535686f89484af334723467ed820a685fba4fb0 (patch)
tree2b9d975c896e40c5710b1205f2ebaf7fba45403e /sonar-ws
parent3ae18356c3fcafeb7b5348c8916098156cd0a824 (diff)
downloadsonarqube-d535686f89484af334723467ed820a685fba4fb0.tar.gz
sonarqube-d535686f89484af334723467ed820a685fba4fb0.zip
SONAR-10347 Add pagination to webhook deliveries search ws.
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-webhooks.proto7
1 files changed, 6 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-webhooks.proto b/sonar-ws/src/main/protobuf/ws-webhooks.proto
index 0569208bc31..ea616f84955 100644
--- a/sonar-ws/src/main/protobuf/ws-webhooks.proto
+++ b/sonar-ws/src/main/protobuf/ws-webhooks.proto
@@ -20,6 +20,8 @@ syntax = "proto2";
package sonarqube.ws.webhooks;
+import "ws-commons.proto";
+
option java_package = "org.sonarqube.ws";
option java_outer_classname = "Webhooks";
option optimize_for = SPEED;
@@ -57,7 +59,10 @@ message CreateWsResponse {
// WS api/webhooks/deliveries
message DeliveriesWsResponse {
- repeated Delivery deliveries = 1;
+
+ optional sonarqube.ws.commons.Paging paging = 1;
+
+ repeated Delivery deliveries = 2;
}
// WS api/webhooks/delivery