[asterisk-commits] dlee: branch dlee/stasis-http r384615 - /team/dlee/stasis-http/rest-api/api-d...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 3 10:33:32 CDT 2013


Author: dlee
Date: Wed Apr  3 10:33:29 2013
New Revision: 384615

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384615
Log:
Added WebSocket Upgrade header; Fixed type for StasisStart event

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

Modified: team/dlee/stasis-http/rest-api/api-docs/events.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/api-docs/events.json?view=diff&rev=384615&r1=384614&r2=384615
==============================================================================
--- team/dlee/stasis-http/rest-api/api-docs/events.json (original)
+++ team/dlee/stasis-http/rest-api/api-docs/events.json Wed Apr  3 10:33:29 2013
@@ -24,7 +24,20 @@
 			    "required": true,
 			    "allowMultiple": true,
 			    "dataType": "string"
-			}
+			},
+			{
+                            "name": "Upgrade",
+                            "description": "RFC6455 header for upgrading a connection to a websocket.",
+                            "paramType": "header",
+                            "required": true,
+                            "dataType": "string",
+                            "allowableValues": {
+                                "valueType": "LIST",
+                                "values": [
+                                    "websocket"
+                                ]
+                            }
+                        }
 		    ]
                 }
             ]
@@ -50,11 +63,8 @@
             "id": "StasisStart",
             "properties": {
                 "args": {
-                    "type": "LIST",
-                    "description": "Arguments to the application",
-                    "items": {
-                        "$ref": "string"
-                    }
+                    "type": "List[string]",
+                    "description": "Arguments to the application"
                 },
                 "channel_info": {
                     "type": "Channel"




More information about the asterisk-commits mailing list