diff options
author | Mark Fletcher <mark@gitlab.com> | 2017-12-20 20:35:58 +0300 |
---|---|---|
committer | Mark Fletcher <mark@gitlab.com> | 2017-12-22 15:18:05 +0300 |
commit | 1e72dd106b20ab8eda4142fadafe9727dfa814f1 (patch) | |
tree | 23353505d52505316c6495f2f014219914fe9aea /lib/api/entities.rb | |
parent | 2972352a9c6912adfd77b480472eb13b832a6c3b (diff) |
Support new chat notifications parameters in Services API
+ Add support for the new separate channel and events settings
* Dry up chat notifications in the service properties definitions
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 928706dfda7..4ad4a1f7867 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -708,8 +708,9 @@ module API class ProjectService < Grape::Entity expose :id, :title, :created_at, :updated_at, :active - expose :push_events, :issues_events, :merge_requests_events - expose :tag_push_events, :note_events, :pipeline_events + expose :push_events, :issues_events, :confidential_issues_events + expose :merge_requests_events, :tag_push_events, :note_events + expose :pipeline_events, :wiki_page_events expose :job_events # Expose serialized properties expose :properties do |service, options| |