Skip to content

Commit 1923479

Browse files
apattathAvin Pattath
andauthored
[Communication] - Identity/TURN - Update TURN response to use array of urls (Azure#13157)
* update Identity and Turn swaggers to use common definition of CommunicationErrorResponse type * Update Turn swagger to use definitions from CommunicationIdentity swagger * update CommunicationIdentity to preview version to match with CommunicationTurn swagger * update readme file with preview version of CommnicationIdentity.json * add examples for CommunicationIdentity * update urls in TURN response to be an array Co-authored-by: Avin Pattath <[email protected]>
1 parent f8a0c3a commit 1923479

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/CommunicationTurn.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,11 @@
6161
"type": "object",
6262
"properties": {
6363
"urls": {
64-
"description": "URL of the server.",
65-
"type": "string"
64+
"description": "List of TURN server URLs.",
65+
"type": "array",
66+
"items": {
67+
"type": "string"
68+
}
6669
},
6770
"username": {
6871
"description": "User account name which uniquely identifies the credentials.",

specification/communication/data-plane/Microsoft.CommunicationServicesTurn/preview/2021-02-22-preview1/examples/IssueTurnCredentials.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"body": {
1111
"turnServers": [
1212
{
13-
"urls": "turn:131.107.255.255:3478",
13+
"urls": [
14+
"turn:131.107.255.255:3478"
15+
],
1416
"username": "AgAAJNOeygwB1uVGvuwAVMHV4PLhYDgY66Fg1dUZvQ4AAAAEhXrhc8uJFjOK8lxEsZk3KIpWxc0=",
1517
"credential": "9rl8ablFWj6/aqSuPLgLykLZKqw="
1618
}

0 commit comments

Comments
 (0)