diff options
author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2016-10-23 09:46:39 +0200 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-11-01 10:41:39 +0000 |
commit | c85c146aa2042710caddc6666ce8f9e07b2fe5ca (patch) | |
tree | c091ac5ec84f1af498be9a1246ee0e2555fe1699 /doc | |
parent | 266fcfb1935c8aa8c6ac3d2ae71530c441b08675 (diff) | |
download | gitlab-ce-c85c146aa2042710caddc6666ce8f9e07b2fe5ca.tar.gz |
Add support for token attr in project hooks API
The UI allows to define a token to validate payload on the target URL,
this patch adds the feature to the API.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/projects.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index b69db90e70d..96145c0cafa 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 | ### 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 | ### Delete project hook |