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
This commit is contained in:
Grzegorz Bizon 2017-09-28 11:37:21 +00:00
commit e0e49f2f71
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
title: Clarify artifact download via the API only accepts branch or tag name for ref
merge_request:
author:
type: other

View file

@ -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: