summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-10-22 11:51:01 +0000
committerRémy Coutable <remy@rymai.me>2016-10-22 11:51:01 +0000
commitfc03440650f811890a75ea87eecbc39b694ce722 (patch)
treeb2da0a3df79c21c7d43677af2f9d260ef915cb64 /lib/api
parente4937e2800c6405e3f9f50abec4b5b0caf03dae1 (diff)
parent3a29ea9da0abd6cfd0788f6d717a08862ed6b062 (diff)
downloadgitlab-ce-fc03440650f811890a75ea87eecbc39b694ce722.tar.gz
Merge branch '23146_19131_build-api_scope-doc' into 'master'
Fix documents and comments on Build API `scope` Fixes #23146 Fixes #19131 See merge request !7044
Diffstat (limited to 'lib/api')
-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