summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2017-02-27 14:21:06 +0100
committerTomasz Maczukin <tomasz@maczukin.pl>2017-03-02 17:45:45 +0100
commit65564598d90b24766fc4eae79a2203daf77c2ce0 (patch)
tree60d7b9626b86c487553ffc381ca3c92b33a5f8e4 /lib
parent0ef28035a8e3369263ad769afdb9858ec1874669 (diff)
downloadgitlab-ce-65564598d90b24766fc4eae79a2203daf77c2ce0.tar.gz
Add missing param description for POST /api/v4/jobs/request
Diffstat (limited to 'lib')
-rw-r--r--lib/api/runner.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb
index 8372b794739..ada1073c8dc 100644
--- a/lib/api/runner.rb
+++ b/lib/api/runner.rb
@@ -55,6 +55,8 @@ module API
end
params do
requires :token, type: String, desc: %q(Runner's authentication token)
+ optional :last_update, type: String, desc: %q(Runner's queue last_update token)
+ optional :info, type: Hash, desc: %q(Runner's metadata)
end
post '/request' do
authenticate_runner!