-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for WebPubSub to add version stable/20…
…23-07-01 (#23927) * Original * Add 2023-07-01 * update * update * remove invoke * resolve comments * resolve comments * resolve failed check * resolve failed check --------- Co-authored-by: Chenyang Liu <chenyl@microsoft.com>
- Loading branch information
Showing
26 changed files
with
2,126 additions
and
14 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/HealthApi_GetServiceStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_AddConnectionToGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"group": "group1", | ||
"connectionId": "connection1" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...sub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_AddConnectionsToGroups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"groupsToAdd": { | ||
"groups": [ | ||
"group1", | ||
"group2" | ||
], | ||
"filter": "startswith(userId, 'listener-')" | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...n/webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_AddUserToGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"group": "group1", | ||
"userId": "user1" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
.../webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_CheckPermission.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"permission": "joinLeaveGroup", | ||
"connectionId": "connection1", | ||
"targetName": "group1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"404": {} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...pubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_CloseAllConnections.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"reason": "Close reason" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
.../webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_CloseConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"connectionId": "connection1", | ||
"reason": "Close reason" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...bsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_CloseGroupConnections.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"group": "group1", | ||
"reason": "Close reason" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_CloseUserConnections.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"userId": "user1", | ||
"reason": "Close reason" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_ConnectionExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"connectionId": "connection1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"404": {} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...pubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_GenerateClientToken.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"userId": "user1", | ||
"minutesToExpire": 5 | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"token": "ABCDEFG.ABC.ABC" | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
.../webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_GrantPermission.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"permission": "joinLeaveGroup", | ||
"connectionId": "connection1", | ||
"targetName": "group1" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...tion/webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_GroupExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"group": "group1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"404": {} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...a-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_RemoveConnectionFromAllGroups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"connectionId": "connection1" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
.../data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_RemoveConnectionFromGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"group": "group1", | ||
"connectionId": "connection1" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ata-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_RemoveConnectionsFromGroups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"groupsToRemove": { | ||
"groups": [ | ||
"group1", | ||
"group2" | ||
], | ||
"filter": "startswith(userId, 'listener-')" | ||
} | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
...ub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_RemoveUserFromAllGroups.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"userId": "user1" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...pubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_RemoveUserFromGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"group": "group1", | ||
"userId": "user1" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_RevokePermission.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"permission": "joinLeaveGroup", | ||
"connectionId": "connection1", | ||
"targetName": "group1" | ||
}, | ||
"responses": { | ||
"204": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...cation/webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_SendToAll.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"filter": "startswith(userId, 'listener-')", | ||
"messageTtlSeconds": 15, | ||
"message": "Message to send" | ||
}, | ||
"responses": { | ||
"202": {} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_SendToConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"connectionId": "connection1", | ||
"messageTtlSeconds": 15, | ||
"message": "Message to send" | ||
}, | ||
"responses": { | ||
"202": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...tion/webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_SendToGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"group": "group1", | ||
"filter": "startswith(userId, 'listener-')", | ||
"messageTtlSeconds": 15, | ||
"message": "Message to send" | ||
}, | ||
"responses": { | ||
"202": {} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ation/webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_SendToUser.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"userId": "user1", | ||
"filter": "startswith(userId, 'listener-')", | ||
"messageTtlSeconds": 15, | ||
"message": "Message to send" | ||
}, | ||
"responses": { | ||
"202": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ation/webpubsub/data-plane/WebPubSub/stable/2023-07-01/examples/WebPubSub_UserExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-07-01", | ||
"hub": "hub1", | ||
"userId": "user1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"404": {} | ||
} | ||
} |
Oops, something went wrong.