Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-11-02 15:24:24 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-11-02 15:24:24 +0300
commit37f229c7358a48c6a9af3481927e9e4faee17e3d (patch)
tree5a4e42ec72d388959ee35911e583ed12d04dc8f4 /doc/api/system_hooks.md
parent57fd233a557158dbaa1a227f7c549fbe6a45e799 (diff)
Update docs and test description
[ci skip]
Diffstat (limited to 'doc/api/system_hooks.md')
-rw-r--r--doc/api/system_hooks.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md
index 569831af540..efd23d514bc 100644
--- a/doc/api/system_hooks.md
+++ b/doc/api/system_hooks.md
@@ -51,10 +51,10 @@ POST /hooks
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `url` | string | yes | The hook URL |
-| token | string | no | The token to validate payloads |
-| 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 |
-| enable_ssl_verification | boolean | no | Do SSL verification when triggering the hook |
+| `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 |
+| `enable_ssl_verification` | boolean | no | Do SSL verification when triggering the hook |
Example request: