monitoring.rb 677 B

123456789101112
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. Zammad::Application.routes.draw do
  3. api_path = Rails.configuration.api_path
  4. match api_path + '/monitoring/health_check', to: 'monitoring#health_check', via: :get
  5. match api_path + '/monitoring/status', to: 'monitoring#status', via: :get
  6. match api_path + '/monitoring/amount_check', to: 'monitoring#amount_check', via: :get
  7. match api_path + '/monitoring/token', to: 'monitoring#token', via: :post
  8. match api_path + '/monitoring/restart_failed_jobs', to: 'monitoring#restart_failed_jobs', via: :post
  9. end