data_privacy_task.rb 767 B

12345678910111213
  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 + '/data_privacy_tasks', to: 'data_privacy_tasks#index', via: :get
  5. match api_path + '/data_privacy_tasks/by_state', to: 'data_privacy_tasks#by_state', via: :get
  6. match api_path + '/data_privacy_tasks/:id', to: 'data_privacy_tasks#show', via: :get
  7. match api_path + '/data_privacy_tasks', to: 'data_privacy_tasks#create', via: :post
  8. match api_path + '/data_privacy_tasks/:id', to: 'data_privacy_tasks#update', via: :put
  9. match api_path + '/data_privacy_tasks/:id', to: 'data_privacy_tasks#destroy', via: :delete
  10. end