aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorGuillaume Jambet <guillaume.jambet@sonarsource.com>2018-02-07 11:35:25 +0100
committerGuillaume Jambet <guillaume.jambet@gmail.com>2018-03-01 15:21:05 +0100
commit67ac2e4220a7ce34533d1c14c8f5f9652c37e08f (patch)
tree8a4426be4a50be44f7d5cfec6a697cc4392dad60 /sonar-ws
parentfd1ca855caea58c6310c7f19710f223987630e6a (diff)
downloadsonarqube-67ac2e4220a7ce34533d1c14c8f5f9652c37e08f.tar.gz
sonarqube-67ac2e4220a7ce34533d1c14c8f5f9652c37e08f.zip
SONAR-10345 Add Webhooks creation ws
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-webhooks.proto10
1 files changed, 9 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-webhooks.proto b/sonar-ws/src/main/protobuf/ws-webhooks.proto
index 357bc403028..b8dc2a859b9 100644
--- a/sonar-ws/src/main/protobuf/ws-webhooks.proto
+++ b/sonar-ws/src/main/protobuf/ws-webhooks.proto
@@ -44,8 +44,16 @@ message SearchWsResponse {
}
}
+// POST api/webhooks/create
+message CreateWsResponse {
+ optional Webhook webhook = 1;
-
+ message Webhook {
+ optional string key = 1;
+ optional string name = 2;
+ optional string url = 3;
+ }
+}
// WS api/webhooks/deliveries
message DeliveriesWsResponse {