Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorJames Ramsay <james@jramsay.com.au>2018-04-02 00:16:35 +0300
committerJames Ramsay <james@jramsay.com.au>2018-04-27 13:00:52 +0300
commitb65fcc320d65367973a58a01618914056993541b (patch)
treed845d07c49dcba94ebb12781fb6effc2cdbd8ac4 /doc/api
parentc73b5d31e680b175b2592d299c901bdcb43bca9f (diff)
Add sha filter to list pipelines
To find the pipeline for a specific sha requires scanning the list of all pipelines for a ref that contains the sha. This makes it hard to find the pipeline id needed to access a trace for a specific job run in the pipeline using the API.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/pipelines.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/pipelines.md b/doc/api/pipelines.md
index a6631cab8c3..899f5da6647 100644
--- a/doc/api/pipelines.md
+++ b/doc/api/pipelines.md
@@ -14,6 +14,7 @@ GET /projects/:id/pipelines
| `scope` | string | no | The scope of pipelines, one of: `running`, `pending`, `finished`, `branches`, `tags` |
| `status` | string | no | The status of pipelines, one of: `running`, `pending`, `success`, `failed`, `canceled`, `skipped` |
| `ref` | string | no | The ref of pipelines |
+| `sha` | string | no | The sha or pipelines |
| `yaml_errors`| boolean | no | Returns pipelines with invalid configurations |
| `name`| string | no | The name of the user who triggered pipelines |
| `username`| string | no | The username of the user who triggered pipelines |