summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Goldhammer <jens.goldhammer@gmail.com>2018-08-14 18:55:55 +0000
committerJens Goldhammer <jens.goldhammer@gmail.com>2018-08-14 18:55:55 +0000
commit6a3437ff4d4080a86e4c6814313c77ef60ecf0c6 (patch)
tree9c851a6b25344c6aea6aa4980d9711b607cfc163
parent125809ce03374816bfa9e64066e00f601f6cdb06 (diff)
downloadgitlab-ce-6a3437ff4d4080a86e4c6814313c77ef60ecf0c6.tar.gz
chore(docs): add field repository_update_events
- adds the field repository_update_events as json field
-rw-r--r--doc/api/system_hooks.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md
index dd424470b67..7b8db6cfa8f 100644
--- a/doc/api/system_hooks.md
+++ b/doc/api/system_hooks.md
@@ -34,6 +34,7 @@ Example response:
"push_events":true,
"tag_push_events":false,
"merge_requests_events": true,
+ "repository_update_events": true,
"enable_ssl_verification":true
}
]
@@ -56,6 +57,7 @@ POST /hooks
| `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 |
+| `repository_update_events` | boolean | no | Trigger hook on repository update events |
| `enable_ssl_verification` | boolean | no | Do SSL verification when triggering the hook |
Example request:
@@ -75,6 +77,7 @@ Example response:
"push_events":true,
"tag_push_events":false,
"merge_requests_events": true,
+ "repository_update_events": true,
"enable_ssl_verification":true
}
]
@@ -127,4 +130,4 @@ Example request:
```bash
curl --request DELETE --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v4/hooks/2
-```
+``` \ No newline at end of file