diff options
author | Guillaume Jambet <guillaume.jambet@sonarsource.com> | 2018-02-07 11:35:25 +0100 |
---|---|---|
committer | Guillaume Jambet <guillaume.jambet@gmail.com> | 2018-03-01 15:21:05 +0100 |
commit | 67ac2e4220a7ce34533d1c14c8f5f9652c37e08f (patch) | |
tree | 8a4426be4a50be44f7d5cfec6a697cc4392dad60 /sonar-ws | |
parent | fd1ca855caea58c6310c7f19710f223987630e6a (diff) | |
download | sonarqube-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.proto | 10 |
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 { |