Commit 880a40e7 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Fix URL in the documentation

parent 4211f500
...@@ -291,7 +291,7 @@ Download the artifacts file from the given reference name and job provided the ...@@ -291,7 +291,7 @@ Download the artifacts file from the given reference name and job provided the
build finished successfully. build finished successfully.
``` ```
GET /projects/:id/artifacts/:ref_name/download?job=name GET /projects/:id/builds/artifacts/:ref_name/download?job=name
``` ```
Parameters Parameters
...@@ -305,7 +305,7 @@ Parameters ...@@ -305,7 +305,7 @@ Parameters
Example request: 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: Example response:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment