summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLemures Lemniscati <lemures.lemniscati@gmail.com>2016-10-22 03:07:26 +0900
committerLemures Lemniscati <lemures.lemniscati@gmail.com>2016-10-22 03:07:26 +0900
commit3a29ea9da0abd6cfd0788f6d717a08862ed6b062 (patch)
treec1bac08df4c3adaf6683807b34ae6eb148ffed09 /lib
parent6ff3625f636b1b4ba94370d5b7ce4afbe0b29a95 (diff)
downloadgitlab-ce-3a29ea9da0abd6cfd0788f6d717a08862ed6b062.tar.gz
Fix documents and comments on Build API `scope`. #23146 #19131
Diffstat (limited to 'lib')
-rw-r--r--lib/api/builds.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api/builds.rb b/lib/api/builds.rb
index 52bdbcae5a8..7b00c5037f1 100644
--- a/lib/api/builds.rb
+++ b/lib/api/builds.rb
@@ -8,7 +8,7 @@ module API
#
# Parameters:
# id (required) - The ID of a project
- # scope (optional) - The scope of builds to show (one or array of: pending, running, failed, success, canceled;
+ # scope (optional) - The scope of builds to show (one or array of: created, pending, running, failed, success, canceled, skipped;
# if none provided showing all builds)
# Example Request:
# GET /projects/:id/builds
@@ -25,7 +25,7 @@ module API
# 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 or array of: pending, running, failed, success, canceled;
+ # scope (optional) - The scope of builds to show (one or array of: created, pending, running, failed, success, canceled, skipped;
# if none provided showing all builds)
# Example Request:
# GET /projects/:id/repository/commits/:sha/builds