diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-10-30 22:23:20 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-10-30 22:23:20 +1100 |
commit | 846d84602f850ffe7f4ec8b41b2d16f593c1d029 (patch) | |
tree | b4c90ffeb75436acda79ade8ed66df090c53f44c /lib/api | |
parent | af80955baaf0993aed07cae943391f7b57d9e3ae (diff) | |
download | gitlab-ce-846d84602f850ffe7f4ec8b41b2d16f593c1d029.tar.gz |
Add Discord integration
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/services.rb | 9 |
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, |