summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/channels.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json
index 9d60b2b7c..eeb56a5c6 100644
--- a/rest-api/api-docs/channels.json
+++ b/rest-api/api-docs/channels.json
@@ -433,11 +433,11 @@
]
},
{
- "path": "/channels/{channelId}/unhold",
+ "path": "/channels/{channelId}/hold",
"description": "Remove a channel from hold",
"operations": [
{
- "httpMethod": "POST",
+ "httpMethod": "DELETE",
"summary": "Remove a channel from hold.",
"nickname": "unholdChannel",
"responseClass": "void",
@@ -465,7 +465,7 @@
]
},
{
- "path": "/channels/{channelId}/mohstart",
+ "path": "/channels/{channelId}/moh",
"description": "Play music on hold to a channel",
"operations": [
{
@@ -506,11 +506,11 @@
]
},
{
- "path": "/channels/{channelId}/mohstop",
+ "path": "/channels/{channelId}/moh",
"description": "Stop playing music on hold to a channel",
"operations": [
{
- "httpMethod": "POST",
+ "httpMethod": "DELETE",
"summary": "Stop playing music on hold to a channel.",
"nickname": "mohStopChannel",
"responseClass": "void",