feat: allow querying reporting events via the API (#12832)

This commit is contained in:
Shivam Mishra
2025-11-13 12:46:55 +05:30
committed by GitHub
parent f455e7994e
commit 4f09c2203c
22 changed files with 1373 additions and 5 deletions

View File

@@ -389,6 +389,15 @@
post:
$ref: ./application/conversation/labels/create.yml
# Conversation Reporting Events
/api/v1/accounts/{account_id}/conversations/{conversation_id}/reporting_events:
parameters:
- $ref: '#/components/parameters/account_id'
- $ref: '#/components/parameters/conversation_id'
get:
$ref: ./application/conversation/reporting_events.yml
# Inboxes
/api/v1/accounts/{account_id}/inboxes:
$ref: ./application/inboxes/index.yml
@@ -535,6 +544,13 @@
### Reports
# Account Reporting Events
/api/v1/accounts/{account_id}/reporting_events:
parameters:
- $ref: '#/components/parameters/account_id'
get:
$ref: ./application/reporting_events/index.yml
# List
/api/v2/accounts/{account_id}/reports:
parameters: