Commit 7c669eee authored by Alexis Reigel's avatar Alexis Reigel

doc for system hook merge_requests_events api

parent 2a0a7b42
...@@ -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
} }
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment