summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-02-20 14:13:21 +0200
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-02-20 14:13:21 +0200
commitad833c934b93c03cef853611e73af62283d8573a (patch)
treed6061e9bd7b5933e68c577a307e672010c83f04c
parent31682eb987ea6ab4f187a9e2bacb23d2ed86b1f5 (diff)
downloadgitlab-ce-ad833c934b93c03cef853611e73af62283d8573a.tar.gz
Fix docs on artifacts API
- Backticks in parameters - Remove headings - Fix curl URL link [ci skip]
-rw-r--r--doc/api/builds.md17
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 |
|-----------|---------------------------------|