Skip to content

Commit

Permalink
BotService Preview: new API version for MsTeams and CheckNameavailabi…
Browse files Browse the repository at this point in the history
…lity (#3478)

* BotService Preview: new API version for MsTeams and CheckNameavailability

* Bot service: adding new api version to readme.me
  • Loading branch information
carlosscastro authored and annatisch committed Aug 2, 2018
1 parent 603513f commit 9ff4521
Show file tree
Hide file tree
Showing 22 changed files with 3,241 additions and 23 deletions.

Large diffs are not rendered by default.

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"
}
}
}
}
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"
]
}
}
}
}
}
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": {
}
}
}
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": {
}
}
}
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": {
}
}
}
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"
]
}
}
}
}
}
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
}
}
}
}
}
}
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"
}
]
}
}
}
}
}
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"
}
]
}
}
}
}
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"
]
}
}
]
}
}
}
}
Loading

0 comments on commit 9ff4521

Please sign in to comment.