From 0e41e6571ca8320edcd3bfb61a5df61bc9043c8f Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Sat, 20 Feb 2016 12:17:36 +0000 Subject: [PATCH] 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 --- 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 85c9600a1c..261a83693c 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 | |-----------|---------------------------------|