summaryrefslogtreecommitdiff
path: root/doc/api/system_hooks.md
diff options
context:
space:
mode:
authorAlexis Reigel <alexis.reigel.ext@siemens.com>2017-11-23 21:36:58 +0100
committerAlexis Reigel <alexis.reigel.ext@siemens.com>2018-01-04 09:33:41 +0100
commit7c669eee49dba533ed95b559ba56bc3fdb7e0c29 (patch)
treee0f587e78c80351c05c42e6c0243a22fc685e46d /doc/api/system_hooks.md
parent2a0a7b426e63dac685654cafb0904e7668ad1fde (diff)
downloadgitlab-ce-7c669eee49dba533ed95b559ba56bc3fdb7e0c29.tar.gz
doc for system hook merge_requests_events api
Diffstat (limited to 'doc/api/system_hooks.md')
-rw-r--r--doc/api/system_hooks.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md
index 482f5083bb2..dd424470b67 100644
--- a/doc/api/system_hooks.md
+++ b/doc/api/system_hooks.md
@@ -55,6 +55,7 @@ POST /hooks
| `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 |
| `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 |
Example request:
@@ -73,6 +74,7 @@ Example response:
"created_at":"2016-10-31T12:32:15.192Z",
"push_events":true,
"tag_push_events":false,
+ "merge_requests_events": true,
"enable_ssl_verification":true
}
]