diff options
author | Jacopo <beschi.jacopo@gmail.com> | 2018-05-31 09:47:53 +0200 |
---|---|---|
committer | Jacopo <beschi.jacopo@gmail.com> | 2018-06-01 14:23:46 +0200 |
commit | 6ae16b6d4d9fb79b715875073bb78efd3f56929b (patch) | |
tree | e207b971b7c5d90ad6d72545e7270bd330c9a244 /doc/api/pipelines.md | |
parent | 9b2e19fe37a5d1389e9f83531bb6ba4b06a66de0 (diff) | |
download | gitlab-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.md | 2 |
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" |