diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-12-06 15:59:03 -0200 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-12-15 15:32:49 -0200 |
commit | a5ccaded656fb215f1f8d503b88c8f28bf90ce68 (patch) | |
tree | f68c114323f6d345a753f0062c1633449e76db21 /lib/api/services.rb | |
parent | 141faaacf9119ce5d765efe73c6509030ba078cd (diff) | |
download | gitlab-ce-a5ccaded656fb215f1f8d503b88c8f28bf90ce68.tar.gz |
Change SlackService to SlackNotificationsServiceissue_22269_fix_eeissue_22269
Diffstat (limited to 'lib/api/services.rb')
-rw-r--r-- | lib/api/services.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb index b1e072b4f47..59232c84c24 100644 --- a/lib/api/services.rb +++ b/lib/api/services.rb @@ -473,7 +473,7 @@ module API desc: 'The description of the tracker' } ], - 'slack' => [ + 'slack-notification' => [ { required: true, name: :webhook, @@ -493,6 +493,14 @@ module API desc: 'The channel name' } ], + 'mattermost-notification' => [ + { + required: true, + name: :webhook, + type: String, + desc: 'The Mattermost webhook. e.g. http://mattermost_host/hooks/...' + } + ], 'teamcity' => [ { required: true, |