summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-10-30 22:23:20 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2018-10-30 22:23:20 +1100
commit846d84602f850ffe7f4ec8b41b2d16f593c1d029 (patch)
treeb4c90ffeb75436acda79ade8ed66df090c53f44c /lib/api
parentaf80955baaf0993aed07cae943391f7b57d9e3ae (diff)
downloadgitlab-ce-846d84602f850ffe7f4ec8b41b2d16f593c1d029.tar.gz
Add Discord integration
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/services.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/api/services.rb b/lib/api/services.rb
index 0ae05ce08f1..1cb3b8a7277 100644
--- a/lib/api/services.rb
+++ b/lib/api/services.rb
@@ -298,6 +298,14 @@ module API
desc: 'Title'
}
],
+ 'discord' => [
+ {
+ required: true,
+ name: :webhook,
+ type: String,
+ desc: 'Discord webhook. e.g. https://discordapp.com/api/webhooks/…'
+ }
+ ],
'drone-ci' => [
{
required: true,
@@ -677,6 +685,7 @@ module API
BuildkiteService,
CampfireService,
CustomIssueTrackerService,
+ DiscordService,
DroneCiService,
EmailsOnPushService,
ExternalWikiService,