-
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.
BotService Preview: new API version for MsTeams and CheckNameavailabi…
…lity (#3478) * BotService Preview: new API version for MsTeams and CheckNameavailability * Bot service: adding new api version to readme.me
- Loading branch information
1 parent
603513f
commit 9ff4521
Showing
22 changed files
with
3,241 additions
and
23 deletions.
There are no files selected for viewing
2,237 changes: 2,237 additions & 0 deletions
2,237
...ation/botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/botservice.json
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
...ource-manager/Microsoft.BotService/preview/2018-07-12/examples/CheckNameAvailability.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,17 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-01-01", | ||
"parameters": { | ||
"name": "testbotname", | ||
"type": "string" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"valid": true, | ||
"message": "custom message from server" | ||
} | ||
} | ||
} | ||
} |
108 changes: 108 additions & 0 deletions
108
...tservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/CreateBot.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,108 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2017-01-01", | ||
"resourceName": "samplebotname", | ||
"parameters": { | ||
"location": "West US", | ||
"sku": { | ||
"name": "S1" | ||
}, | ||
"etag": "etag1", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"name": "samplename", | ||
"type": "sampletype", | ||
"id": "someid", | ||
"kind": "sdk", | ||
"properties": { | ||
"description": "The description of the bot", | ||
"developerAppInsightKey": "appinsightskey", | ||
"developerAppInsightsApiKey": "appinsightsapikey", | ||
"developerAppInsightsApplicationId": "appinsightsappid", | ||
"displayName": "The Name of the bot", | ||
"endpoint": "http://mybot.coffee", | ||
"iconUrl": "http://myicon", | ||
"luisAppIds": [ | ||
"luisappid1", | ||
"luisappid2" | ||
], | ||
"luisKey": "luiskey", | ||
"msaAppId": "exampleappid" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "West US", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"name": "samplename", | ||
"type": "sampletype", | ||
"id": "someid", | ||
"kind": "sdk", | ||
"etag": "etag1", | ||
"properties": { | ||
"description": "The description of the bot", | ||
"developerAppInsightKey": "appinsightskey", | ||
"developerAppInsightsApplicationId": "appinsightsappid", | ||
"displayName": "The Name of the bot", | ||
"endpoint": "http://mybot.coffee", | ||
"endpointVersion": "version", | ||
"iconUrl": "http://myicon", | ||
"luisAppIds": [ | ||
"luisappid1", | ||
"luisappid2" | ||
], | ||
"msaAppId": "msaappid", | ||
"configuredChannels": [ | ||
"facebook", | ||
"groupme" | ||
], | ||
"enabledChannels": [ | ||
"facebook" | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"location": "West US", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"name": "samplename", | ||
"type": "sampletype", | ||
"id": "someid", | ||
"kind": "sdk", | ||
"properties": { | ||
"description": "The description of the bot", | ||
"developerAppInsightsApplicationId": "appinsightsappid", | ||
"displayName": "The Name of the bot", | ||
"endpoint": "http://mybot.coffee", | ||
"endpointVersion": "version", | ||
"iconUrl": "http://myicon", | ||
"luisAppIds": [ | ||
"luisappid1", | ||
"luisappid2" | ||
], | ||
"msaAppId": "msaappid", | ||
"configuredChannels": [ | ||
"facebook", | ||
"groupme" | ||
], | ||
"enabledChannels": [ | ||
"facebook" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...tservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteBot.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,14 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2017-01-01", | ||
"resourceName": "samplebotname" | ||
}, | ||
"responses": { | ||
"200": { | ||
}, | ||
"204": { | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...vice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteChannel.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": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2017-01-01", | ||
"resourceName": "samplebotname", | ||
"channelName": "EmailChannel" | ||
}, | ||
"responses": { | ||
"200": { | ||
}, | ||
"204": { | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...e/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/DeleteConnection.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": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2017-01-01", | ||
"resourceName": "samplebotname", | ||
"connectionName": "sampleConnection" | ||
}, | ||
"responses": { | ||
"200": { | ||
}, | ||
"204": { | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
.../botservice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetBot.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,45 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2017-01-01", | ||
"resourceName": "samplebotname" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "West US", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"name": "samplename", | ||
"type": "sampletype", | ||
"id": "someid", | ||
"kind": "sdk", | ||
"etag": "etag1", | ||
"properties": { | ||
"description": "The description of the bot", | ||
"developerAppInsightKey": "appinsightskey", | ||
"developerAppInsightsApplicationId": "appinsightsappid", | ||
"displayName": "The Name of the bot", | ||
"endpoint": "http://mybot.coffee", | ||
"endpointVersion": "version", | ||
"iconUrl": "http://myicon", | ||
"luisAppIds": [ | ||
"luisappid1", | ||
"luisappid2" | ||
], | ||
"msaAppId": "msaappid", | ||
"configuredChannels": [ | ||
"facebook", | ||
"groupme" | ||
], | ||
"enabledChannels": [ | ||
"facebook" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...service/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetChannel.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2017-01-01", | ||
"resourceName": "samplebotname", | ||
"channelName": "EmailChannel" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "global", | ||
"properties": { | ||
"channelName": "EmailChannel", | ||
"properties":{ | ||
"emailAddress": "a@b.com", | ||
"password": "pwd", | ||
"isEnabled": true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...vice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetConnection.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,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2017-01-01", | ||
"resourceName": "samplebotname", | ||
"connectionName": "sampleConnection" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"location": "global", | ||
"id": "someid", | ||
"etag": "etag1", | ||
"name": "The Name of the Connection Setting", | ||
"properties": { | ||
"clientId": "sampleclientid", | ||
"clientSecret": "samplesecret", | ||
"scopes": "samplescope", | ||
"serviceProviderId": "serviceproviderid", | ||
"serviceProviderDisplayName": "serviceProviderDisplayName", | ||
"parameters": [ | ||
{ | ||
"key": "key1", | ||
"value": "value1" | ||
}, | ||
{ | ||
"key": "key2", | ||
"value": "value2" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
...vice/resource-manager/Microsoft.BotService/preview/2018-07-12/examples/GetOperations.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,53 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2017-04-18" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.BotService/botService/read", | ||
"display": { | ||
"provider": "Microsoft Bot Service", | ||
"resource": "Bot Service", | ||
"operation": "Read Bot Service", | ||
"description": "Read Bot Service" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.BotService/botService/write", | ||
"display": { | ||
"provider": "Microsoft Bot Service", | ||
"resource": "Bot Service", | ||
"operation": "Write Bot Service", | ||
"description": "Writes Bot Service" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.BotService/botService/delete", | ||
"display": { | ||
"provider": "Microsoft Bot Service", | ||
"resource": "Bot Service", | ||
"operation": "Delete Bot Service", | ||
"description": "Deletes Bot Service" | ||
}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.BotService/botService/botName/read", | ||
"display": { | ||
"provider": "Microsoft Bot Service", | ||
"resource": "Bot Service name availability", | ||
"operation": "Check bot name availability", | ||
"description": "Check bot name availability" | ||
}, | ||
"origin": "user,system" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...rce-manager/Microsoft.BotService/preview/2018-07-12/examples/ListBotsByResourceGroup.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,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subscription-id", | ||
"resourceGroupName": "OneResourceGroupName", | ||
"api-version": "2017-01-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"location": "West US", | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
}, | ||
"name": "samplename", | ||
"type": "sampletype", | ||
"id": "someid", | ||
"etag": "etag1", | ||
"kind": "sdk", | ||
"properties": { | ||
"description": "The description of the bot", | ||
"developerAppInsightKey": "appinsightskey", | ||
"developerAppInsightsApplicationId": "appinsightsappid", | ||
"displayName": "The Name of the bot", | ||
"endpoint": "http://mybot.coffee", | ||
"endpointVersion": "version", | ||
"iconUrl": "http://myicon", | ||
"luisAppIds": [ | ||
"luisappid1", | ||
"luisappid2" | ||
], | ||
"msaAppId": "msaappid", | ||
"configuredChannels": [ | ||
"facebook", | ||
"groupme" | ||
], | ||
"enabledChannels": [ | ||
"facebook" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.