Merge branch 'mc/docs/api-download-latest-artifact-docs' into 'master'
Update job artifact download docs See merge request gitlab-org/gitlab-ce!30714
This commit is contained in:
commit
9fe1cdf7bd
1 changed files with 7 additions and 7 deletions
|
@ -409,10 +409,10 @@ Possible response status codes:
|
||||||
> - The use of `CI_JOB_TOKEN` in the artifacts download API was [introduced][ee-2346]
|
> - The use of `CI_JOB_TOKEN` in the artifacts download API was [introduced][ee-2346]
|
||||||
> in [GitLab Premium][ee] 9.5.
|
> in [GitLab Premium][ee] 9.5.
|
||||||
|
|
||||||
Download the artifacts zipped archive from the given reference name and job,
|
Download the artifacts zipped archive from the latest successful pipeline for
|
||||||
provided the job finished successfully. This is the same as
|
the given reference name and job, provided the job finished successfully. This
|
||||||
[getting the job's artifacts](#get-job-artifacts), but by defining the job's
|
is the same as [getting the job's artifacts](#get-job-artifacts), but by
|
||||||
name instead of its ID.
|
defining the job's name instead of its ID.
|
||||||
|
|
||||||
```
|
```
|
||||||
GET /projects/:id/jobs/artifacts/:ref_name/download?job=name
|
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.
|
> [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
|
Download a single artifact file for a specific job of the latest successful
|
||||||
job's artifacts archive. The file is extracted from the archive and streamed to
|
pipeline for the given reference name from within the job's artifacts archive.
|
||||||
the client.
|
The file is extracted from the archive and streamed to the client.
|
||||||
|
|
||||||
```
|
```
|
||||||
GET /projects/:id/jobs/artifacts/:ref_name/raw/*artifact_path?job=name
|
GET /projects/:id/jobs/artifacts/:ref_name/raw/*artifact_path?job=name
|
||||||
|
|
Loading…
Reference in a new issue