diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-02-20 12:17:36 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-02-21 21:10:23 +0100 |
commit | 0e41e6571ca8320edcd3bfb61a5df61bc9043c8f (patch) | |
tree | c64fdadc4ecfc402daa9efd9b3b821c2c39795e4 | |
parent | f79bb559e26bbcbb99967b8a4df79689d06cea46 (diff) | |
download | gitlab-ce-0e41e6571ca8320edcd3bfb61a5df61bc9043c8f.tar.gz |
Merge branch 'doc_artifacts_api' into 'master'
Fix docs on artifacts API
Small fixes for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2893
- Backticks in parameters
- Remove headings
- Fix curl URL link
See merge request !2902
-rw-r--r-- | doc/api/builds.md | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/doc/api/builds.md b/doc/api/builds.md index 85c9600a1c7..261a83693cb 100644 --- a/doc/api/builds.md +++ b/doc/api/builds.md @@ -263,21 +263,16 @@ Get build artifacts of a project GET /projects/:id/builds/:build_id/artifacts ``` -### Parameters - -| Attribute | Type | Required | Description | -|-----------|---------|----------|---------------------| -| id | integer | yes | The ID of a project | -| build_id | integer | yes | The ID of a build | - -### Example of request +| Attribute | Type | Required | Description | +|------------|---------|----------|---------------------| +| `id` | integer | yes | The ID of a project | +| `build_id` | integer | yes | The ID of a build | ``` -curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/8" +curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/1/builds/8/artifacts" ``` -### Response: - +Response: | Status | Description | |-----------|---------------------------------| |