http_log.rb 433 B

12345678910
  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 + '/http_logs', to: 'http_logs#index', via: :get
  5. match api_path + '/http_logs/:facility', to: 'http_logs#index', via: :get, constraints: { facility: %r{.*} }
  6. match api_path + '/http_logs', to: 'http_logs#create', via: :post
  7. end