summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-11-02 11:46:45 +0000
committerRémy Coutable <remy@rymai.me>2016-11-02 11:46:45 +0000
commit2023511753d75545aa76968a2991dc962f7a99db (patch)
treeea0ea32f4ea3c61ef25717840dcf0cd54c136a89 /doc/api
parentee6d087ef2a7bbfede43741e04e850b363c74cb3 (diff)
parentf77be11cb9caa62cdd4690a53c73b6d34e102148 (diff)
downloadgitlab-ce-2023511753d75545aa76968a2991dc962f7a99db.tar.gz
Merge branch 'gpocentek/gitlab-ce-api-webhook-token' into 'master'
This MR adds support for the `token` attribute in the project hook API. Feature requested on a dependant project: https://github.com/gpocentek/python-gitlab/issues/170 See merge request !7220
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 8ebac57e612..4f4b20a1874 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -1139,6 +1139,7 @@ Parameters:
| `pipeline_events` | boolean | no | Trigger hook on pipeline events |
| `wiki_events` | boolean | no | Trigger hook on wiki events |
| `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 |
### Edit project hook
@@ -1164,6 +1165,7 @@ Parameters:
| `pipeline_events` | boolean | no | Trigger hook on pipeline events |
| `wiki_events` | boolean | no | Trigger hook on wiki events |
| `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 |
### Delete project hook