BigW Consortium Gitlab

Add missing param description for POST /api/v4/jobs/request

parent 0ef28035
...@@ -55,6 +55,8 @@ module API ...@@ -55,6 +55,8 @@ module API
end end
params do params do
requires :token, type: String, desc: %q(Runner's authentication token) 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 end
post '/request' do post '/request' do
authenticate_runner! authenticate_runner!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment