Commit 0e41e657 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis Committed by Rémy Coutable

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
parent f79bb559
...@@ -263,21 +263,16 @@ Get build artifacts of a project ...@@ -263,21 +263,16 @@ Get build artifacts of a project
GET /projects/:id/builds/:build_id/artifacts GET /projects/:id/builds/:build_id/artifacts
``` ```
### Parameters
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
|-----------|---------|----------|---------------------| |------------|---------|----------|---------------------|
| id | integer | yes | The ID of a project | | `id` | integer | yes | The ID of a project |
| build_id | integer | yes | The ID of a build | | `build_id` | integer | yes | The ID of a build |
### Example of request
``` ```
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 | | Status | Description |
|-----------|---------------------------------| |-----------|---------------------------------|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment