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
This commit is contained in:
commit
040ae7e3e0
|
@ -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 |
|
||||
|-----------|---------------------------------|
|
||||
|
|
Loading…
Reference in New Issue