integration_exchange.rb 878 B

1234567891011
  1. Zammad::Application.routes.draw do
  2. api_path = Rails.configuration.api_path
  3. match api_path + '/integration/exchange/autodiscover', to: 'integration/exchange#autodiscover', via: :post
  4. match api_path + '/integration/exchange/folders', to: 'integration/exchange#folders', via: :post
  5. match api_path + '/integration/exchange/mapping', to: 'integration/exchange#mapping', via: :post
  6. match api_path + '/integration/exchange/job_try', to: 'integration/exchange#job_try_index', via: :get
  7. match api_path + '/integration/exchange/job_try', to: 'integration/exchange#job_try_create', via: :post
  8. match api_path + '/integration/exchange/job_start', to: 'integration/exchange#job_start_index', via: :get
  9. match api_path + '/integration/exchange/job_start', to: 'integration/exchange#job_start_create', via: :post
  10. end