新增:actions重新运行接口

This commit is contained in:
2024-05-28 15:55:22 +08:00
parent caa7acc654
commit 572a6de2ad
3 changed files with 38 additions and 1 deletions

View File

@@ -96,6 +96,9 @@ defaults format: :json do
post :enable
resources :runs, only: [:index] do
post '/jobs/:job', to: 'runs#job_show'
post '/rerun', to: 'runs#rerun'
post '/jobs/:job/rerun', to: 'runs#job_rerun'
get '/jobs/:job/logs', to: 'runs#job_logs'
end
end
end