diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-04-04 16:10:21 +0100 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-04-06 18:47:31 +0100 |
commit | 8ea8e1c1a849a8efb05325173dfb383ce4c8d2a8 (patch) | |
tree | 10e22b4d83d7852fbfa08026ddc6ea4c483c2f69 /lib/api | |
parent | 05f69ef21246f1a2c0b83540d3e205c9e4d77819 (diff) | |
download | gitlab-ce-microsoft-teams-integration.tar.gz |
adds relevant testsmicrosoft-teams-integration
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/services.rb | 9 | ||||
-rw-r--r-- | lib/api/v3/services.rb | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb index 6802a99311e..65f86caaa51 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -488,6 +488,14 @@ 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, @@ -550,6 +558,7 @@ module API RedmineService, SlackService, MattermostService, + MicrosoftTeamsService, TeamcityService, ] 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, |