Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion code/API_definitions/click-to-dial.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,26 @@ paths:
$ref: '#/components/responses/Conflict409'
'422':
$ref: '#/components/responses/UnprocessableEntity422'

callbacks:
callStatusChanged:
'{$request.body#/sink}':
post:
summary: Call status changed event
description: |
Event notification delivered to the sink URL when the call status
changes (CloudEvents structured mode).
requestBody:
required: true
content:
application/cloudevents+json:
schema:
$ref: '#/components/schemas/EventCTDStatusChanged'
examples:
CALL_STATUS_CHANGED_EXAMPLE:
$ref: '#/components/examples/CALL_STATUS_CHANGED_EXAMPLE'
responses:
'2XX':
description: Event successfully received by the sink.
/calls/{callId}:
get:
tags:
Expand Down