Fix docs on artifacts API

- Backticks in parameters
- Remove headings
- Fix curl URL link

[ci skip]
This commit is contained in:
Achilleas Pipinellis 2016-02-20 14:13:21 +02:00
parent 31682eb987
commit ad833c934b
1 changed files with 6 additions and 11 deletions

View File

@ -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
|------------|---------|----------|---------------------|
| `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 |
|-----------|---------------------------------|