summaryrefslogtreecommitdiff
path: root/lib/api/v3/services.rb
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2017-04-04 16:10:21 +0100
committerTiago Botelho <tiagonbotelho@hotmail.com>2017-04-06 19:47:07 +0100
commit1f404065ca602593dc18aa051515fd88132ddfdf (patch)
treee1fb01a2584c2137ad603500fc22652ab099bb46 /lib/api/v3/services.rb
parent05f69ef21246f1a2c0b83540d3e205c9e4d77819 (diff)
downloadgitlab-ce-1f404065ca602593dc18aa051515fd88132ddfdf.tar.gz
adds relevant tests
Diffstat (limited to 'lib/api/v3/services.rb')
-rw-r--r--lib/api/v3/services.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/v3/services.rb b/lib/api/v3/services.rb
index 3bacaeee032..bbe07ed4212 100644
--- a/lib/api/v3/services.rb
+++ b/lib/api/v3/services.rb
@@ -501,6 +501,12 @@ module API
desc: 'The channel name'
}
],
+ 'microsoft-teams' => [
+ required: true,
+ name: :webhook,
+ type: String,
+ desc: 'The Microsoft Teams webhook. e.g. https://outlook.office.com/webhook/…'
+ ],
'mattermost' => [
{
required: true,