2016-11-23 14:25:44 +00:00
|
|
|
Zammad::Application.routes.draw do
|
|
|
|
api_path = Rails.configuration.api_path
|
|
|
|
|
2017-09-07 12:45:13 +00:00
|
|
|
match api_path + '/monitoring/health_check', to: 'monitoring#health_check', via: :get
|
|
|
|
match api_path + '/monitoring/status', to: 'monitoring#status', via: :get
|
2018-11-02 06:35:28 +00:00
|
|
|
match api_path + '/monitoring/amount_check', to: 'monitoring#amount_check', via: :get
|
2017-09-07 12:45:13 +00:00
|
|
|
match api_path + '/monitoring/token', to: 'monitoring#token', via: :post
|
|
|
|
match api_path + '/monitoring/restart_failed_jobs', to: 'monitoring#restart_failed_jobs', via: :post
|
2016-11-23 14:25:44 +00:00
|
|
|
|
|
|
|
end
|