summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2013-11-08 17:59:16 +0000
committerKevin Harwell <kharwell@digium.com>2013-11-08 17:59:16 +0000
commit4f1bdeed1c6c1d0e191f1d250ca85dc9f921b929 (patch)
tree88a2a52f9219c847a3a97034c5610485d6979660 /rest-api
parent97a8debd90e4d31f15803dc26e8884bf34d7650e (diff)
ARI playback: Rename ARI Playback to Playbacks
Before playback was the only non plural resource. It has been renamed to playbacks for consistency. (closes issue ASTERISK-22737) Reported by: Paul Belanger ........ Merged revisions 402560 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/playbacks.json (renamed from rest-api/api-docs/playback.json)6
-rw-r--r--rest-api/resources.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/rest-api/api-docs/playback.json b/rest-api/api-docs/playbacks.json
index 92810d30a..2c621cf88 100644
--- a/rest-api/api-docs/playback.json
+++ b/rest-api/api-docs/playbacks.json
@@ -5,10 +5,10 @@
"apiVersion": "0.0.1",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
- "resourcePath": "/api-docs/playback.{format}",
+ "resourcePath": "/api-docs/playbacks.{format}",
"apis": [
{
- "path": "/playback/{playbackId}",
+ "path": "/playbacks/{playbackId}",
"description": "Control object for a playback operation.",
"operations": [
{
@@ -58,7 +58,7 @@
]
},
{
- "path": "/playback/{playbackId}/control",
+ "path": "/playbacks/{playbackId}/control",
"description": "Control object for a playback operation.",
"operations": [
{
diff --git a/rest-api/resources.json b/rest-api/resources.json
index 0bdf9de33..7e0b793fb 100644
--- a/rest-api/resources.json
+++ b/rest-api/resources.json
@@ -31,7 +31,7 @@
"description": "Sound resources"
},
{
- "path": "/api-docs/playback.{format}",
+ "path": "/api-docs/playbacks.{format}",
"description": "Playback control resources"
},
{