summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-01-05 16:36:14 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2016-01-05 16:36:14 +0100
commita862ade55bf68f56734538b40e02e56036f8a1bd (patch)
treeea1144d39fd995d40ce2ac8a766afdde149a11da /lib/api
parent962b97d813b2296391519113fdfbed60fc14ad78 (diff)
downloadgitlab-ce-a862ade55bf68f56734538b40e02e56036f8a1bd.tar.gz
Update ./doc/api/
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/builds.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/builds.rb b/lib/api/builds.rb
index 92bf849824c..6b0edcff820 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 of: all, finished, running)
+ # scope (optional) - The scope of builds to show (one of: all, finished, running; default: all)
# page (optional) - The page number for pagination
# per_page (ooptional) - The value of items per page to show
# Example Request:
@@ -24,6 +24,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 of: all, finished, running; default: all)
# Example Request:
# GET /projects/:id/builds/commit/:sha
get ':id/builds/commit/:sha' do