summaryrefslogtreecommitdiff
path: root/lib/api/services.rb
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-12-06 15:59:03 -0200
committerFelipe Artur <felipefac@gmail.com>2016-12-15 15:32:49 -0200
commita5ccaded656fb215f1f8d503b88c8f28bf90ce68 (patch)
treef68c114323f6d345a753f0062c1633449e76db21 /lib/api/services.rb
parent141faaacf9119ce5d765efe73c6509030ba078cd (diff)
downloadgitlab-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.rb10
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,