summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-21 19:26:58 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-21 19:26:58 +0800
commit0b67945c99fde0d2c1ac6287f826001ef4c5d03b (patch)
treeb2de1ca873c09fe4dd9a1621d78140bb3a0680b2
parent880a40e7e94eb7a3c1e31eda9b6bd9f68b0a4068 (diff)
downloadgitlab-ce-artifacts-from-ref-and-build-name-api.tar.gz
Also fix the URL in the commentartifacts-from-ref-and-build-name-api
-rw-r--r--lib/api/builds.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/builds.rb b/lib/api/builds.rb
index 657d421fe97..be5a3484ec8 100644
--- a/lib/api/builds.rb
+++ b/lib/api/builds.rb
@@ -80,7 +80,7 @@ module API
# ref_name (required) - The ref from repository
# job (required) - The name for the build
# Example Request:
- # GET /projects/:id/artifacts/:ref_name/download?job=name
+ # GET /projects/:id/builds/artifacts/:ref_name/download?job=name
get ':id/builds/artifacts/:ref_name/download',
requirements: { ref_name: /.+/ } do
authorize_read_builds!