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
path: root/doc
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzegorz@gitlab.com>2017-09-28 14:37:21 +0300
committerGrzegorz Bizon <grzegorz@gitlab.com>2017-09-28 14:37:21 +0300
commite0e49f2f7120fee6ee34236ed6463e4c130f2ad1 (patch)
tree1a23ce5e3290bdc4253e4511e3dd8479e6ee8141 /doc
parent7689c3ec88eab153a1b4d8e6f8ac45df35231e1e (diff)
parent3c26326e71d532455bb91ea84611942b0de6cd3c (diff)
Merge branch 'docs-28814-clarify-artifacts-ref' into 'master'
Clarify artifact download via the API only accepts branch or tag name for ref See merge request gitlab-org/gitlab-ce!14545
Diffstat (limited to 'doc')
-rw-r--r--doc/api/jobs.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/jobs.md b/doc/api/jobs.md
index d60c7c12881..e7060e154f4 100644
--- a/doc/api/jobs.md
+++ b/doc/api/jobs.md
@@ -336,7 +336,7 @@ Parameters
| Attribute | Type | Required | Description |
|-------------|---------|----------|-------------------------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
-| `ref_name` | string | yes | The ref from a repository |
+| `ref_name` | string | yes | The ref from a repository (can only be branch or tag name, not HEAD or SHA) |
| `job` | string | yes | The name of the job |
Example request: