From d535686f89484af334723467ed820a685fba4fb0 Mon Sep 17 00:00:00 2001 From: Guillaume Jambet Date: Thu, 15 Feb 2018 14:54:15 +0100 Subject: SONAR-10347 Add pagination to webhook deliveries search ws. --- sonar-ws/src/main/protobuf/ws-webhooks.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sonar-ws') 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 -- cgit v1.2.3