2022-01-01 13:38:12 +00:00
|
|
|
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
2021-06-01 12:20:20 +00:00
|
|
|
|
2014-10-26 12:13:44 +00:00
|
|
|
Zammad::Application.routes.draw do
|
|
|
|
api_path = Rails.configuration.api_path
|
|
|
|
|
|
|
|
# import otrs
|
2015-04-27 13:42:53 +00:00
|
|
|
match api_path + '/import/otrs/url_check', to: 'import_otrs#url_check', via: :post
|
2017-01-15 10:47:20 +00:00
|
|
|
match api_path + '/import/otrs/import_check', to: 'import_otrs#import_check', via: :post
|
2015-04-27 13:42:53 +00:00
|
|
|
match api_path + '/import/otrs/import_start', to: 'import_otrs#import_start', via: :post
|
|
|
|
match api_path + '/import/otrs/import_status', to: 'import_otrs#import_status', via: :get
|
2014-10-26 12:13:44 +00:00
|
|
|
|
2015-04-27 14:15:29 +00:00
|
|
|
end
|