From ad833c934b93c03cef853611e73af62283d8573a Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Sat, 20 Feb 2016 14:13:21 +0200 Subject: [PATCH] Fix docs on artifacts API - Backticks in parameters - Remove headings - Fix curl URL link [ci skip] --- doc/api/builds.md | 17 ++++++----------- 1 file 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 | |-----------|---------------------------------|