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
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-01-08 16:01:31 +0300
committerTomasz Maczukin <tomasz@maczukin.pl>2016-01-08 16:01:31 +0300
commit549a2fa7873366b52e9ba3caa849073b7b958b73 (patch)
tree902d2cb4c00429a13394ff61a903d6e5e71016ae /doc/api/builds.md
parenta862ade55bf68f56734538b40e02e56036f8a1bd (diff)
Modify builds scope filtering in builds API
Diffstat (limited to 'doc/api/builds.md')
-rw-r--r--doc/api/builds.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/builds.md b/doc/api/builds.md
index b716499dd36..c52266714d0 100644
--- a/doc/api/builds.md
+++ b/doc/api/builds.md
@@ -11,7 +11,7 @@ GET /projects/:id/builds
Parameters:
- `id` (required) - The ID of a project
-- `scope` (optional) - The scope of builds to show (one of: `all`, `finished`, `running`; default: `all`)
+- `scope` (optional) - The scope of builds to show (one or array of: pending, running, failed, success, canceled; if none provided showing all builds)
```json
[
@@ -64,8 +64,7 @@ Parameters:
- `id` (required) - The ID of a project
- `sha` (required) - The SHA id of a commit
-- `scope` (optional) - The scope of builds to show (one of: `all`, `finished`, `running`; default: `all`)
-
+- `scope` (optional) - The scope of builds to show (one or array of: pending, running, failed, success, canceled; if none provided showing all builds)
```json
[