Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
vicancy committed Sep 3, 2021
1 parent d72e838 commit affca43
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Azure Web PubSub Service REST API",
"version": "2021-08-01-preview"
"version": "2021-09-01-preview"
},
"paths": {
"/api/health": {
Expand All @@ -18,7 +18,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -57,8 +57,7 @@
"in": "query",
"name": "userId",
"description": "User Id.",
"type": "string",
"default": ""
"type": "string"
},
{
"in": "query",
Expand All @@ -83,7 +82,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -136,7 +135,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
},
{
"in": "body",
Expand Down Expand Up @@ -189,7 +188,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -239,7 +238,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -287,7 +286,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
},
{
"in": "body",
Expand All @@ -311,6 +310,77 @@
}
}
},
"/api/hubs/{hub}/connections": {
"delete": {
"tags": [
"webpubsub"
],
"summary": "Closes the connections matching the connectionIds or belonging to the userIds or in the groups.\r\nPlease specify at least one matching condition otherwise the request would be rejected because closing all the connections is dangerous and thus not allowed.",
"operationId": "WebPubSub_CloseConnections",
"parameters": [
{
"in": "path",
"name": "hub",
"description": "Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore.",
"required": true,
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_`,.[\\]]{0,127}$"
},
{
"in": "query",
"name": "connectionId",
"description": "The client connections with the matching connectionIds will be closed.",
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
},
{
"in": "query",
"name": "userId",
"description": "The client connections belonging to the matching userIds will be closed.",
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
},
{
"in": "query",
"name": "group",
"description": "The client connections in the matching groups will be closed.",
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
},
{
"in": "query",
"name": "reason",
"description": "The reason closing the client connection.",
"type": "string"
},
{
"in": "query",
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-09-01-preview"
}
],
"responses": {
"200": {
"description": "Success"
},
"default": {
"description": "Error response",
"x-ms-error-response": true
}
}
}
},
"/api/hubs/{hub}/groups/{group}": {
"head": {
"tags": [
Expand Down Expand Up @@ -341,7 +411,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -403,7 +473,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
},
{
"in": "body",
Expand Down Expand Up @@ -465,7 +535,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -518,7 +588,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -561,7 +631,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -612,7 +682,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
},
{
"in": "body",
Expand Down Expand Up @@ -674,7 +744,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -727,7 +797,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -770,7 +840,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -834,7 +904,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -896,7 +966,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down Expand Up @@ -958,7 +1028,7 @@
"name": "api-version",
"description": "The version of the REST APIs.",
"type": "string",
"default": "2021-05-01-preview"
"default": "2021-09-01-preview"
}
],
"responses": {
Expand Down
Loading

0 comments on commit affca43

Please sign in to comment.