import_kayako.rb 601 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. # import kayako
  5. match api_path + '/import/kayako/url_check', to: 'import_kayako#url_check', via: :post
  6. match api_path + '/import/kayako/credentials_check', to: 'import_kayako#credentials_check', via: :post
  7. match api_path + '/import/kayako/import_start', to: 'import_kayako#import_start', via: :post
  8. match api_path + '/import/kayako/import_status', to: 'import_kayako#import_status', via: :get
  9. end