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
|
|
|
|
2020-06-02 11:01:16 +00:00
|
|
|
Zammad::Application.routes.draw do
|
|
|
|
api_path = Rails.configuration.api_path
|
|
|
|
|
2020-07-10 14:18:48 +00:00
|
|
|
match api_path + '/integration/smime', to: 'integration/smime#search', via: :post
|
|
|
|
match api_path + '/integration/smime/certificate', to: 'integration/smime#certificate_add', via: :post
|
|
|
|
match api_path + '/integration/smime/certificate', to: 'integration/smime#certificate_delete', via: :delete
|
|
|
|
match api_path + '/integration/smime/certificate', to: 'integration/smime#certificate_list', via: :get
|
|
|
|
match api_path + '/integration/smime/private_key', to: 'integration/smime#private_key_add', via: :post
|
|
|
|
match api_path + '/integration/smime/private_key', to: 'integration/smime#private_key_delete', via: :delete
|
|
|
|
match api_path + '/integration/smime/certificate_download/:id', to: 'integration/smime#certificate_download', via: :get
|
|
|
|
match api_path + '/integration/smime/private_key_download/:id', to: 'integration/smime#private_key_download', via: :get
|
2020-06-02 11:01:16 +00:00
|
|
|
end
|