feat: APIs to filter reports (#2889)

Fixes #2823
This commit is contained in:
Tejaswini Chile
2021-08-27 22:46:32 +05:30
committed by GitHub
parent f94abaef5f
commit 65f3e83afd
19 changed files with 542 additions and 61 deletions

View File

@@ -31,6 +31,12 @@ platform_user_id:
custom_filter_id:
$ref: ./custom_filter_id.yml
report_type:
$ref: ./report_type.yml
report_metric:
$ref: ./report_metric.yml
public_inbox_identifier:
$ref: ./public/inbox_identifier.yml

View File

@@ -0,0 +1,7 @@
in: query
name: metric
schema:
type: string
enum: [conversations_count, incoming_messages_count, outgoing_messages_count, avg_first_response_time, avg_resolution_time, resolutions_count]
required: true
description: The type of metric

View File

@@ -0,0 +1,7 @@
in: query
name: report_type
schema:
type: string
enum: [account,agent,inbox,label]
required: true
description: Type of report