summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-21 19:20:25 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-21 19:20:25 +0800
commit880a40e7e94eb7a3c1e31eda9b6bd9f68b0a4068 (patch)
treee05efa782452cda5e0325570beec76bf963a9e13
parent4211f50014faebf027fd2bc80e0cf1d3f012627c (diff)
downloadgitlab-ce-880a40e7e94eb7a3c1e31eda9b6bd9f68b0a4068.tar.gz
Fix URL in the documentation
-rw-r--r--doc/api/builds.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/builds.md b/doc/api/builds.md
index 443739ff845..24d90e22a9b 100644
--- a/doc/api/builds.md
+++ b/doc/api/builds.md
@@ -291,7 +291,7 @@ Download the artifacts file from the given reference name and job provided the
build finished successfully.
```
-GET /projects/:id/artifacts/:ref_name/download?job=name
+GET /projects/:id/builds/artifacts/:ref_name/download?job=name
```
Parameters
@@ -305,7 +305,7 @@ Parameters
Example request:
```
-curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/artifacts/master/download?job=test"
+curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/artifacts/master/download?job=test"
```
Example response: