summaryrefslogtreecommitdiff
path: root/rest-api/api-docs/recordings.json
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-05-23 18:04:07 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-05-23 18:04:07 -0500
commitcab97fd9056e1dd99f4d6e0883c128131467df44 (patch)
tree82045e0bc958deb5662d14679c89d02845b5c89b /rest-api/api-docs/recordings.json
parentc20e560516239dc32c93bd3484abad4fa42045f5 (diff)
parente773e3a9bbaf378d53647e4bac3ffcd61afb4ae6 (diff)
Merge "ARI: Add the ability to download the media associated with a stored recording"
Diffstat (limited to 'rest-api/api-docs/recordings.json')
-rw-r--r--rest-api/api-docs/recordings.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/rest-api/api-docs/recordings.json b/rest-api/api-docs/recordings.json
index 51f0a21f4..d173ac98e 100644
--- a/rest-api/api-docs/recordings.json
+++ b/rest-api/api-docs/recordings.json
@@ -70,6 +70,38 @@
]
},
{
+ "path": "/recordings/stored/{recordingName}/file",
+ "description": "The actual file associated with the stored recording",
+ "operations": [
+ {
+ "httpMethod": "GET",
+ "summary": "Get the file associated with the stored recording.",
+ "nickname": "getStoredFile",
+ "responseClass": "binary",
+ "parameters": [
+ {
+ "name": "recordingName",
+ "description": "The name of the recording",
+ "paramType": "path",
+ "required": true,
+ "allowMultiple": false,
+ "dataType": "string"
+ }
+ ],
+ "errorResponses": [
+ {
+ "code": 403,
+ "reason": "The recording file could not be opened"
+ },
+ {
+ "code": 404,
+ "reason": "Recording not found"
+ }
+ ]
+ }
+ ]
+ },
+ {
"path": "/recordings/stored/{recordingName}/copy",
"description": "Copy an individual recording",
"operations": [