monitoring.rb 497 B

123456789
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/monitoring/health_check', to: 'monitoring#health_check', via: :get
  4. match api_path + '/monitoring/status', to: 'monitoring#status', via: :get
  5. match api_path + '/monitoring/token', to: 'monitoring#token', via: :post
  6. match api_path + '/monitoring/restart_failed_jobs', to: 'monitoring#restart_failed_jobs', via: :post
  7. end