Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a8b79230
Commit
a8b79230
authored
Nov 10, 2019
by
Fabio Huser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(api): add missing confidential_note_events param to services api
parent
12375941
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
doc/api/services.md
doc/api/services.md
+4
-0
lib/api/helpers/services_helpers.rb
lib/api/helpers/services_helpers.rb
+6
-0
No files found.
doc/api/services.md
View file @
a8b79230
...
@@ -254,6 +254,7 @@ Parameters:
...
@@ -254,6 +254,7 @@ Parameters:
|
`merge_requests_events`
| boolean | false | Enable notifications for merge request events |
|
`merge_requests_events`
| boolean | false | Enable notifications for merge request events |
|
`tag_push_events`
| boolean | false | Enable notifications for tag push events |
|
`tag_push_events`
| boolean | false | Enable notifications for tag push events |
|
`note_events`
| boolean | false | Enable notifications for note events |
|
`note_events`
| boolean | false | Enable notifications for note events |
|
`confidential_note_events`
| boolean | false | Enable notifications for confidential note events |
|
`pipeline_events`
| boolean | false | Enable notifications for pipeline events |
|
`pipeline_events`
| boolean | false | Enable notifications for pipeline events |
|
`wiki_page_events`
| boolean | false | Enable notifications for wiki page events |
|
`wiki_page_events`
| boolean | false | Enable notifications for wiki page events |
...
@@ -524,6 +525,7 @@ Parameters:
...
@@ -524,6 +525,7 @@ Parameters:
|
`merge_requests_events`
| boolean | false | Enable notifications for merge request events |
|
`merge_requests_events`
| boolean | false | Enable notifications for merge request events |
|
`tag_push_events`
| boolean | false | Enable notifications for tag push events |
|
`tag_push_events`
| boolean | false | Enable notifications for tag push events |
|
`note_events`
| boolean | false | Enable notifications for note events |
|
`note_events`
| boolean | false | Enable notifications for note events |
|
`confidential_note_events`
| boolean | false | Enable notifications for confidential note events |
|
`pipeline_events`
| boolean | false | Enable notifications for pipeline events |
|
`pipeline_events`
| boolean | false | Enable notifications for pipeline events |
|
`wiki_page_events`
| boolean | false | Enable notifications for wiki page events |
|
`wiki_page_events`
| boolean | false | Enable notifications for wiki page events |
...
@@ -1132,6 +1134,7 @@ Parameters:
...
@@ -1132,6 +1134,7 @@ Parameters:
|
`merge_requests_events`
| boolean | false | Enable notifications for merge request events |
|
`merge_requests_events`
| boolean | false | Enable notifications for merge request events |
|
`tag_push_events`
| boolean | false | Enable notifications for tag push events |
|
`tag_push_events`
| boolean | false | Enable notifications for tag push events |
|
`note_events`
| boolean | false | Enable notifications for note events |
|
`note_events`
| boolean | false | Enable notifications for note events |
|
`confidential_note_events`
| boolean | false | Enable notifications for confidential note events |
|
`pipeline_events`
| boolean | false | Enable notifications for pipeline events |
|
`pipeline_events`
| boolean | false | Enable notifications for pipeline events |
|
`wiki_page_events`
| boolean | false | Enable notifications for wiki page events |
|
`wiki_page_events`
| boolean | false | Enable notifications for wiki page events |
|
`push_channel`
| string | false | The name of the channel to receive push events notifications |
|
`push_channel`
| string | false | The name of the channel to receive push events notifications |
...
@@ -1139,6 +1142,7 @@ Parameters:
...
@@ -1139,6 +1142,7 @@ Parameters:
|
`confidential_issue_channel`
| string | false | The name of the channel to receive confidential issues events notifications |
|
`confidential_issue_channel`
| string | false | The name of the channel to receive confidential issues events notifications |
|
`merge_request_channel`
| string | false | The name of the channel to receive merge request events notifications |
|
`merge_request_channel`
| string | false | The name of the channel to receive merge request events notifications |
|
`note_channel`
| string | false | The name of the channel to receive note events notifications |
|
`note_channel`
| string | false | The name of the channel to receive note events notifications |
|
`confidential_note_channel`
| boolean | The name of the channel to receive confidential note events notifications |
|
`tag_push_channel`
| string | false | The name of the channel to receive tag push events notifications |
|
`tag_push_channel`
| string | false | The name of the channel to receive tag push events notifications |
|
`pipeline_channel`
| string | false | The name of the channel to receive pipeline events notifications |
|
`pipeline_channel`
| string | false | The name of the channel to receive pipeline events notifications |
|
`wiki_page_channel`
| string | false | The name of the channel to receive wiki page events notifications |
|
`wiki_page_channel`
| string | false | The name of the channel to receive wiki page events notifications |
...
...
lib/api/helpers/services_helpers.rb
View file @
a8b79230
...
@@ -132,6 +132,12 @@ module API
...
@@ -132,6 +132,12 @@ module API
type:
Boolean
,
type:
Boolean
,
desc:
'Enable notifications for note_events'
desc:
'Enable notifications for note_events'
},
},
{
required:
false
,
name: :confidential_note_events
,
type:
Boolean
,
desc:
'Enable notifications for confidential_note_events'
},
{
{
required:
false
,
required:
false
,
name: :tag_push_events
,
name: :tag_push_events
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment