summaryrefslogtreecommitdiff
path: root/rest-api/api-docs/events.json
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api/api-docs/events.json')
-rw-r--r--rest-api/api-docs/events.json26
1 files changed, 25 insertions, 1 deletions
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json
index 4a36da3b8..0e0a822cf 100644
--- a/rest-api/api-docs/events.json
+++ b/rest-api/api-docs/events.json
@@ -69,7 +69,31 @@
"channel_hangup_request": { "type": "ChannelHangupRequest" },
"channel_varset": { "type": "ChannelVarset" },
"stasis_end": { "type": "StasisEnd" },
- "stasis_start": { "type": "StasisStart" }
+ "stasis_start": { "type": "StasisStart" },
+ "playback_started": { "type": "PlaybackStarted" },
+ "playback_finished": { "type": "PlaybackFinished" }
+ }
+ },
+ "PlaybackStarted": {
+ "id": "PlaybackStarted",
+ "description": "Event showing the start of a media playback operation.",
+ "properties": {
+ "playback": {
+ "type": "Playback",
+ "description": "Playback control object",
+ "required": true
+ }
+ }
+ },
+ "PlaybackFinished": {
+ "id": "PlaybackFinished",
+ "description": "Event showing the completion of a media playback operation.",
+ "properties": {
+ "playback": {
+ "type": "Playback",
+ "description": "Playback control object",
+ "required": true
+ }
}
},
"ApplicationReplaced": {