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
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-02-28 15:24:49 +0300
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-02 20:11:50 +0300
commit994e49b3fbc261f8e59429c1681d83c81ba25df3 (patch)
treec149ebe3247be8a074f4a2d5400874ec3ce3d9b8 /doc
parent01f6083939f8f9559f7e134f111bd40d17d357f9 (diff)
Fixed those points.
- username to user_id - Drop duration - Resolve comments - Add Changelog - Edit docs
Diffstat (limited to 'doc')
-rw-r--r--doc/api/pipelines.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/pipelines.md b/doc/api/pipelines.md
index 732ad8da4ac..9281e6bb6d5 100644
--- a/doc/api/pipelines.md
+++ b/doc/api/pipelines.md
@@ -11,6 +11,13 @@ GET /projects/:id/pipelines
| Attribute | Type | Required | Description |
|-----------|---------|----------|---------------------|
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
+| `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 |
+| `yaml_errors`| string | no | If true, Returns only yaml error pipelines |
+| `username`| string | no | The name of user who triggered pipelines |
+| `order_by`| string | no | The order_by which is combined with a `sort`, one of: `id`, `status`, `ref`, `user_id`, `started_at`, `finished_at`, `created_at`, `updated_at`; |
+| `sort` | string | no | The sort method which is combined with an `order_by`, one of: `asc`, `desc`; |
```
curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/1/pipelines"