summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/events.json15
1 files changed, 2 insertions, 13 deletions
diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json
index c5f38862f..56a05e4ee 100644
--- a/rest-api/api-docs/events.json
+++ b/rest-api/api-docs/events.json
@@ -13,6 +13,8 @@
"operations": [
{
"httpMethod": "GET",
+ "upgrade": "websocket",
+ "websocketProtocol": "ari",
"summary": "WebSocket connection for events.",
"nickname": "eventWebsocket",
"responseClass": "Event",
@@ -24,19 +26,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"
- ]
- }
}
]
}