[asterisk-commits] dlee: branch dlee/ari-url-shuffle r391584 - /team/dlee/ari-url-shuffle/rest-a...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 12 17:16:30 CDT 2013
Author: dlee
Date: Wed Jun 12 17:16:28 2013
New Revision: 391584
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=391584
Log:
Specify the websocket in the API instead of a required header
Modified:
team/dlee/ari-url-shuffle/rest-api/api-docs/events.json
Modified: team/dlee/ari-url-shuffle/rest-api/api-docs/events.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ari-url-shuffle/rest-api/api-docs/events.json?view=diff&rev=391584&r1=391583&r2=391584
==============================================================================
--- team/dlee/ari-url-shuffle/rest-api/api-docs/events.json (original)
+++ team/dlee/ari-url-shuffle/rest-api/api-docs/events.json Wed Jun 12 17:16:28 2013
@@ -13,6 +13,7 @@
"operations": [
{
"httpMethod": "GET",
+ "upgrade": "websocket",
"summary": "WebSocket connection for events.",
"nickname": "eventWebsocket",
"responseClass": "Event",
@@ -24,19 +25,6 @@
"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"
- ]
- }
}
]
}
More information about the asterisk-commits
mailing list