summaryrefslogtreecommitdiff
path: root/doc/api/pipelines.md
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2018-05-31 09:47:53 +0200
committerJacopo <beschi.jacopo@gmail.com>2018-06-01 14:23:46 +0200
commit6ae16b6d4d9fb79b715875073bb78efd3f56929b (patch)
treee207b971b7c5d90ad6d72545e7270bd330c9a244 /doc/api/pipelines.md
parent9b2e19fe37a5d1389e9f83531bb6ba4b06a66de0 (diff)
downloadgitlab-ce-6ae16b6d4d9fb79b715875073bb78efd3f56929b.tar.gz
Rename variables_attributes => variables and adds spec for exclude/only option
Diffstat (limited to 'doc/api/pipelines.md')
-rw-r--r--doc/api/pipelines.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/pipelines.md b/doc/api/pipelines.md
index bc96b3a0bdf..0e752056642 100644
--- a/doc/api/pipelines.md
+++ b/doc/api/pipelines.md
@@ -102,7 +102,7 @@ POST /projects/:id/pipeline
|------------|---------|----------|---------------------|
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
| `ref` | string | yes | Reference to commit |
-| `variables_attributes` | array | no | An array containing the variables available in the pipeline matching the structure [{ 'key' => 'UPLOAD_TO_S3', 'value' => 'true' }] |
+| `variables` | array | no | An array containing the variables available in the pipeline matching the structure [{ 'key' => 'UPLOAD_TO_S3', 'value' => 'true' }] |
```
curl --request POST --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/pipeline?ref=master"