Commit 33539ccb authored by Sean McGivern's avatar Sean McGivern

Merge branch 'docs-update-system-hooks-api' into 'master'

chore(docs): add field repository_update_events

See merge request gitlab-org/gitlab-ce!21205
parents 301f134e 6a3437ff
...@@ -34,6 +34,7 @@ Example response: ...@@ -34,6 +34,7 @@ Example response:
"push_events":true, "push_events":true,
"tag_push_events":false, "tag_push_events":false,
"merge_requests_events": true, "merge_requests_events": true,
"repository_update_events": true,
"enable_ssl_verification":true "enable_ssl_verification":true
} }
] ]
...@@ -56,6 +57,7 @@ POST /hooks ...@@ -56,6 +57,7 @@ POST /hooks
| `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 | | `merge_requests_events` | boolean | no | Trigger hook on merge requests events |
| `repository_update_events` | boolean | no | Trigger hook on repository update 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:
...@@ -75,6 +77,7 @@ Example response: ...@@ -75,6 +77,7 @@ Example response:
"push_events":true, "push_events":true,
"tag_push_events":false, "tag_push_events":false,
"merge_requests_events": true, "merge_requests_events": true,
"repository_update_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