channel_email.rb 1.1 KB

1234567891011121314151617
  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 + '/channels_email', to: 'channels_email#index', via: :get
  5. match api_path + '/channels_email_probe', to: 'channels_email#probe', via: :post
  6. match api_path + '/channels_email_outbound', to: 'channels_email#outbound', via: :post
  7. match api_path + '/channels_email_inbound', to: 'channels_email#inbound', via: :post
  8. match api_path + '/channels_email_verify', to: 'channels_email#verify', via: :post
  9. match api_path + '/channels_email_notification', to: 'channels_email#notification', via: :post
  10. match api_path + '/channels_email_disable', to: 'channels_email#disable', via: :post
  11. match api_path + '/channels_email_enable', to: 'channels_email#enable', via: :post
  12. match api_path + '/channels_email', to: 'channels_email#destroy', via: :delete
  13. match api_path + '/channels_email_group/:id', to: 'channels_email#group', via: :post
  14. end