diff options
author | Evan Read <eread@gitlab.com> | 2019-07-16 06:20:24 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-16 06:20:24 +0000 |
commit | 9fe1cdf7bd041005c629fae4517b64004e8c03bb (patch) | |
tree | e46368d0176c367ac9936708b9c72bc1393418c9 | |
parent | ebc5f08454fc1ee792efb54d47199140d17ec87c (diff) | |
parent | eea400315449802606b412bbaa695f5b5eca2380 (diff) | |
download | gitlab-ce-9fe1cdf7bd041005c629fae4517b64004e8c03bb.tar.gz |
Merge branch 'mc/docs/api-download-latest-artifact-docs' into 'master'
Update job artifact download docs
See merge request gitlab-org/gitlab-ce!30714
-rw-r--r-- | doc/api/jobs.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/api/jobs.md b/doc/api/jobs.md index 1add5f432ac..0e45ee1a583 100644 --- a/doc/api/jobs.md +++ b/doc/api/jobs.md @@ -409,10 +409,10 @@ Possible response status codes: > - The use of `CI_JOB_TOKEN` in the artifacts download API was [introduced][ee-2346] > in [GitLab Premium][ee] 9.5. -Download the artifacts zipped archive from the given reference name and job, -provided the job finished successfully. This is the same as -[getting the job's artifacts](#get-job-artifacts), but by defining the job's -name instead of its ID. +Download the artifacts zipped archive from the latest successful pipeline for +the given reference name and job, provided the job finished successfully. This +is the same as [getting the job's artifacts](#get-job-artifacts), but by +defining the job's name instead of its ID. ``` GET /projects/:id/jobs/artifacts/:ref_name/download?job=name @@ -506,9 +506,9 @@ Possible response status codes: > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23538) in GitLab 11.5. -Download a single artifact file from a specific tag or branch from within the -job's artifacts archive. The file is extracted from the archive and streamed to -the client. +Download a single artifact file for a specific job of the latest successful +pipeline for the given reference name from within the job's artifacts archive. +The file is extracted from the archive and streamed to the client. ``` GET /projects/:id/jobs/artifacts/:ref_name/raw/*artifact_path?job=name |