2 "_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
3 "_author": "David M. Lee, II <dlee@digium.com>",
4 "_svn_revision": "$Revision$",
6 "swaggerVersion": "1.1",
7 "basePath": "http://localhost:8088/stasis",
8 "resourcePath": "/api-docs/recordings.{format}",
11 "path": "/recordings/stored",
12 "description": "Recordings",
16 "summary": "List recordings that are complete.",
17 "nickname": "listStored",
18 "responseClass": "List[StoredRecording]"
23 "path": "/recordings/stored/{recordingName}",
24 "description": "Individual recording",
28 "summary": "Get a stored recording's details.",
29 "nickname": "getStored",
30 "responseClass": "StoredRecording",
33 "name": "recordingName",
34 "description": "The name of the recording",
37 "allowMultiple": false,
44 "reason": "Recording not found"
49 "httpMethod": "DELETE",
50 "summary": "Delete a stored recording.",
51 "nickname": "deleteStored",
52 "responseClass": "void",
55 "name": "recordingName",
56 "description": "The name of the recording",
59 "allowMultiple": false,
66 "reason": "Recording not found"
73 "path": "/recordings/live/{recordingName}",
74 "description": "A recording that is in progress",
78 "summary": "List live recordings.",
79 "nickname": "getLive",
80 "responseClass": "LiveRecording",
83 "name": "recordingName",
84 "description": "The name of the recording",
87 "allowMultiple": false,
94 "reason": "Recording not found"
99 "httpMethod": "DELETE",
100 "summary": "Stop a live recording and discard it.",
101 "nickname": "cancel",
102 "responseClass": "void",
105 "name": "recordingName",
106 "description": "The name of the recording",
109 "allowMultiple": false,
116 "reason": "Recording not found"
123 "path": "/recordings/live/{recordingName}/stop",
126 "httpMethod": "POST",
127 "summary": "Stop a live recording and store it.",
129 "responseClass": "void",
132 "name": "recordingName",
133 "description": "The name of the recording",
136 "allowMultiple": false,
143 "reason": "Recording not found"
150 "path": "/recordings/live/{recordingName}/pause",
153 "httpMethod": "POST",
154 "summary": "Pause a live recording.",
155 "notes": "Pausing a recording suspends silence detection, which will be restarted when the recording is unpaused. Paused time is not included in the accounting for maxDurationSeconds.",
157 "responseClass": "void",
160 "name": "recordingName",
161 "description": "The name of the recording",
164 "allowMultiple": false,
171 "reason": "Recording not found"
175 "reason": "Recording not in session"
180 "httpMethod": "DELETE",
181 "summary": "Unpause a live recording.",
182 "nickname": "unpause",
183 "responseClass": "void",
186 "name": "recordingName",
187 "description": "The name of the recording",
190 "allowMultiple": false,
197 "reason": "Recording not found"
201 "reason": "Recording not in session"
208 "path": "/recordings/live/{recordingName}/mute",
211 "httpMethod": "POST",
212 "summary": "Mute a live recording.",
213 "notes": "Muting a recording suspends silence detection, which will be restarted when the recording is unmuted.",
215 "responseClass": "void",
218 "name": "recordingName",
219 "description": "The name of the recording",
222 "allowMultiple": false,
229 "reason": "Recording not found"
233 "reason": "Recording not in session"
238 "httpMethod": "DELETE",
239 "summary": "Unmute a live recording.",
240 "nickname": "unmute",
241 "responseClass": "void",
244 "name": "recordingName",
245 "description": "The name of the recording",
248 "allowMultiple": false,
255 "reason": "Recording not found"
259 "reason": "Recording not in session"
268 "id": "StoredRecording",
269 "description": "A past recording that may be played back.",
282 "id": "LiveRecording",
283 "description": "A recording that is in progress",
288 "description": "Base name for the recording"
293 "description": "Recording format (wav, gsm, etc.)"
313 "description": "Cause for recording failure if failed"