Clarify artifact download via the API only accepts branch or tag name for ref

This commit is contained in:
Mark Fletcher 2017-09-28 10:54:19 +07:00
parent 92173ac55c
commit 3c26326e71
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: