diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-08 14:01:31 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-08 14:01:31 +0100 |
commit | 549a2fa7873366b52e9ba3caa849073b7b958b73 (patch) | |
tree | 902d2cb4c00429a13394ff61a903d6e5e71016ae /doc/api/builds.md | |
parent | a862ade55bf68f56734538b40e02e56036f8a1bd (diff) | |
download | gitlab-ce-549a2fa7873366b52e9ba3caa849073b7b958b73.tar.gz |
Modify builds scope filtering in builds API
Diffstat (limited to 'doc/api/builds.md')
-rw-r--r-- | doc/api/builds.md | 5 |
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 [ |