File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -1932,7 +1932,7 @@ paths:
19321932 $ref : ' #/components/responses/ServiceUnavailable'
19331933 security :
19341934 - auth_header : []
1935- /v1 /voice/realtime :
1935+ /v3 /voice/realtime :
19361936 post :
19371937 tags :
19381938 - VoiceAPI
@@ -1984,7 +1984,7 @@ paths:
19841984 schema :
19851985 $ref : ' #/components/schemas/VoiceStreamingResponse'
19861986 example :
1987- streaming_url : ' wss://api.deepl.com/v1 /voice/realtime/connect'
1987+ streaming_url : ' wss://api.deepl.com/v3 /voice/realtime/connect'
19881988 token : ' VGhpcyBpcyBhIGZha2UgdG9rZW4K'
19891989 session_id : ' 4f911080-cfe2-41d4-8269-0e6ec15a0354'
19901990 400 :
@@ -4307,7 +4307,7 @@ components:
43074307 description : >
43084308 The WebSocket URL to use for establishing
43094309 [the stream connection](/api-reference/voice/websocket-streaming).
4310- example : wss://api.deepl.com/v1 /voice/realtime/connect
4310+ example : wss://api.deepl.com/v3 /voice/realtime/connect
43114311 token :
43124312 type : string
43134313 description : >
Original file line number Diff line number Diff line change @@ -124,11 +124,11 @@ The Voice API uses a two-step flow to initiate streaming.
124124
125125<Steps >
126126 <Step title = " Request Stream" >
127- Make a POST request ` v1 /voice/realtime` to obtain an ephemeral streaming URL and authentication token. The response will look like this:
127+ Make a POST request ` v3 /voice/realtime` to obtain an ephemeral streaming URL and authentication token. The response will look like this:
128128
129129 ``` json
130130 {
131- "streaming_url" : " wss://api.deepl.com/v1 /voice/realtime/connect" ,
131+ "streaming_url" : " wss://api.deepl.com/v3 /voice/realtime/connect" ,
132132 "token" : <secure access token>,
133133 }
134134 ```
@@ -144,7 +144,7 @@ The Voice API uses a two-step flow to initiate streaming.
144144 See the [ Request Stream] ( /api-reference/voice/request-stream ) documentation for details.
145145 </Step >
146146 <Step title = " Streaming Audio and Text (WebSocket)" >
147- Use the received URL to establish a WebSocket connection to ` wss://api.deepl.com/v1 /voice/realtime/connect?token=<secure access token> ` .
147+ Use the received URL to establish a WebSocket connection to ` wss://api.deepl.com/v3 /voice/realtime/connect?token=<secure access token> ` .
148148 This step handles exchanging JSON messages on the WebSocket connection:
149149 * Sending audio data
150150 * Receiving transcriptions and translations in real-time
Original file line number Diff line number Diff line change 11---
2- openapi : post /v1 /voice/realtime
2+ openapi : post /v3 /voice/realtime
33title : " Request Stream"
44---
Original file line number Diff line number Diff line change 1313servers :
1414 production :
1515 host : api.deepl.com
16- pathname : /v1 /voice/realtime/connect
16+ pathname : /v3 /voice/realtime/connect
1717 protocol : wss
1818 description : DeepL Voice API WebSocket endpoint.
1919 variables :
@@ -24,7 +24,7 @@ servers:
2424
2525channels :
2626 voiceStream :
27- address : /v1 /voice/realtime/connect?token={token}
27+ address : /v3 /voice/realtime/connect?token={token}
2828 description : >
2929 WebSocket channel for streaming audio and receiving transcriptions and translations.
3030 Messages are exchanged in JSON format and WebSocket frames must be of type TEXT.
You can’t perform that action at this time.
0 commit comments