diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-02-20 14:13:21 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-02-20 14:13:21 +0200 |
commit | ad833c934b93c03cef853611e73af62283d8573a (patch) | |
tree | d6061e9bd7b5933e68c577a307e672010c83f04c /doc | |
parent | 31682eb987ea6ab4f187a9e2bacb23d2ed86b1f5 (diff) | |
download | gitlab-ce-ad833c934b93c03cef853611e73af62283d8573a.tar.gz |
Fix docs on artifacts API
- Backticks in parameters
- Remove headings
- Fix curl URL link
[ci skip]
Diffstat (limited to 'doc')
-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 | |-----------|---------------------------------| |