summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-11-01 11:40:06 +0000
committerSean McGivern <sean@gitlab.com>2016-11-01 11:40:06 +0000
commitf77be11cb9caa62cdd4690a53c73b6d34e102148 (patch)
treee36511f907c20daed701d882e4e08f0b07fff04c /doc/api
parentc85c146aa2042710caddc6666ce8f9e07b2fe5ca (diff)
downloadgitlab-ce-gpocentek/gitlab-ce-api-webhook-token.tar.gz
Ensure hook tokens are write-only in the APIgpocentek/gitlab-ce-api-webhook-token
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 96145c0cafa..d7b99c35b33 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -1139,7 +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 |
+| `token` | string | no | Secret token to validate received payloads; this will not be returned in the response |
### Edit project hook
@@ -1165,7 +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 |
+| `token` | string | no | Secret token to validate received payloads; this will not be returned in the response |
### Delete project hook