diff options
Diffstat (limited to 'rest-api')
-rw-r--r-- | rest-api/api-docs/events.json | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json index 5b6e0549d..4a36da3b8 100644 --- a/rest-api/api-docs/events.json +++ b/rest-api/api-docs/events.json @@ -54,9 +54,13 @@ "required": true }, "application_replaced": { "type": "ApplicationReplaced" }, + "bridge_created": { "type": "BridgeCreated" }, + "bridge_destroyed": { "type": "BridgeDestroyed" }, "channel_created": { "type": "ChannelCreated" }, "channel_destroyed": { "type": "ChannelDestroyed" }, "channel_snapshot": { "type": "ChannelSnapshot" }, + "channel_entered_bridge": { "type": "ChannelEnteredBridge" }, + "channel_left_bridge": { "type": "ChannelLeftBridge" }, "channel_state_change": { "type": "ChannelStateChange" }, "channel_dtmf_received": { "type": "ChannelDtmfReceived" }, "channel_dialplan": { "type": "ChannelDialplan" }, @@ -79,6 +83,26 @@ } } }, + "BridgeCreated": { + "id": "BridgeCreated", + "description": "Notification that a bridge has been created.", + "properties": { + "bridge": { + "required": true, + "type": "Bridge" + } + } + }, + "BridgeDestroyed": { + "id": "BridgeDestroyed", + "description": "Notification that a bridge has been destroyed.", + "properties": { + "bridge": { + "required": true, + "type": "Bridge" + } + } + }, "ChannelCreated": { "id": "ChannelCreated", "description": "Notification that a channel has been created.", @@ -119,6 +143,33 @@ } } }, + "ChannelEnteredBridge": { + "id": "ChannelEnteredBridge", + "description": "Notification that a channel has entered a bridge.", + "properties": { + "bridge": { + "required": true, + "type": "Bridge" + }, + "channel": { + "type": "Channel" + } + } + }, + "ChannelLeftBridge": { + "id": "ChannelLeftBridge", + "description": "Notification that a channel has left a bridge.", + "properties": { + "bridge": { + "required": true, + "type": "Bridge" + }, + "channel": { + "required": true, + "type": "Channel" + } + } + }, "ChannelStateChange": { "id": "ChannelStateChange", "description": "Notification of a channel's state change.", |