diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-02-28 21:24:49 +0900 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-03 02:11:50 +0900 |
commit | 994e49b3fbc261f8e59429c1681d83c81ba25df3 (patch) | |
tree | c149ebe3247be8a074f4a2d5400874ec3ce3d9b8 /doc | |
parent | 01f6083939f8f9559f7e134f111bd40d17d357f9 (diff) | |
download | gitlab-ce-994e49b3fbc261f8e59429c1681d83c81ba25df3.tar.gz |
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.md | 7 |
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" |