feat: Add endpoints to retrieve summary of team/agents over a period of time (#8916)
- Internal APIs to prototype reporting improvements.
This commit is contained in:
@@ -294,6 +294,12 @@ Rails.application.routes.draw do
|
||||
namespace :v2 do
|
||||
resources :accounts, only: [:create] do
|
||||
scope module: :accounts do
|
||||
resources :summary_reports, only: [] do
|
||||
collection do
|
||||
get :agent
|
||||
get :team
|
||||
end
|
||||
end
|
||||
resources :reports, only: [:index] do
|
||||
collection do
|
||||
get :summary
|
||||
|
||||
Reference in New Issue
Block a user