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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
7c669eee
Commit
7c669eee
authored
Nov 23, 2017
by
Alexis Reigel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc for system hook merge_requests_events api
parent
2a0a7b42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
doc/api/system_hooks.md
doc/api/system_hooks.md
+2
-0
No files found.
doc/api/system_hooks.md
View file @
7c669eee
...
@@ -55,6 +55,7 @@ POST /hooks
...
@@ -55,6 +55,7 @@ POST /hooks
|
`token`
| string | no | Secret token to validate received payloads; this will not be returned in the response |
|
`token`
| string | no | Secret token to validate received payloads; this will not be returned in the response |
|
`push_events`
| boolean | no | When true, the hook will fire on push events |
|
`push_events`
| boolean | no | When true, the hook will fire on push events |
|
`tag_push_events`
| boolean | no | When true, the hook will fire on new tags being pushed |
|
`tag_push_events`
| boolean | no | When true, the hook will fire on new tags being pushed |
|
`merge_requests_events`
| boolean | no | Trigger hook on merge requests events |
|
`enable_ssl_verification`
| boolean | no | Do SSL verification when triggering the hook |
|
`enable_ssl_verification`
| boolean | no | Do SSL verification when triggering the hook |
Example request:
Example request:
...
@@ -73,6 +74,7 @@ Example response:
...
@@ -73,6 +74,7 @@ Example response:
"created_at"
:
"2016-10-31T12:32:15.192Z"
,
"created_at"
:
"2016-10-31T12:32:15.192Z"
,
"push_events"
:
true
,
"push_events"
:
true
,
"tag_push_events"
:
false
,
"tag_push_events"
:
false
,
"merge_requests_events"
:
true
,
"enable_ssl_verification"
:
true
"enable_ssl_verification"
:
true
}
}
]
]
...
...
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