[asterisk-commits] dlee: branch dlee/stasis-http r380772 - /team/dlee/stasis-http/rest-api/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 1 13:29:52 CST 2013


Author: dlee
Date: Fri Feb  1 13:29:49 2013
New Revision: 380772

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380772
Log:
Everyone else was right; two ways to hangup is silly

Modified:
    team/dlee/stasis-http/rest-api/channels.json

Modified: team/dlee/stasis-http/rest-api/channels.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/channels.json?view=diff&rev=380772&r1=380771&r2=380772
==============================================================================
--- team/dlee/stasis-http/rest-api/channels.json (original)
+++ team/dlee/stasis-http/rest-api/channels.json Fri Feb  1 13:29:49 2013
@@ -179,28 +179,6 @@
                     "httpMethod": "POST",
                     "summary": "Answer a channel",
                     "nickname": "answerChannel",
-                    "responseClass": "void",
-                    "parameters": [
-                        {
-                            "name": "channelId",
-                            "description": "Channel's id",
-                            "paramType": "path",
-                            "required": true,
-                            "allowMultiple": false,
-                            "dataType": "string"
-                        }
-                    ]
-                }
-            ]
-        },
-        {
-            "path": "/api/channels/{channelId}/hangup",
-            "description": "Hangup a channel",
-            "operations": [
-                {
-                    "httpMethod": "POST",
-                    "summary": "Hangup a channel",
-                    "nickname": "hangupChannel",
                     "responseClass": "void",
                     "parameters": [
                         {




More information about the asterisk-commits mailing list