Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure Healthbot swagger #11681

Merged
merged 4 commits into from
Nov 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -705,6 +705,7 @@ HCRP
HDFS
hdinsight
Headnode
healthbot
healthcareapis
Heatbeat
heatmap
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2020-10-20-preview",
"subscriptionId": "subscription-id",
"parameters": {
"name": "MyBot",
"type": "string"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": true,
"message": ""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"api-version": "2020-10-20-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.HealthBot/healthbot/botName/read",
"display": {
"provider": "Microsoft Healthcare Bot",
"resource": "Microsoft Healthcare Bot 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,35 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2020-10-20-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2020-10-20-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2020-10-20-preview",
"subscriptionId": "subid",
"resourceName": "MyBot",
"parameters": {
"location": "East US",
"sku": {
"name": "F0"
}
}
},
"responses": {
"200": {
"body": {
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
},
"201": {
"body": {
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage",
"provisioningState": "Provisioning"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2020-10-20-preview",
"subscriptionId": "subid",
"resourceName": "MyBot"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2020-10-20-preview",
"subscriptionId": "subid",
"resourceName": "MyBot"
},
"responses": {
"200": {
"body": {
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"resourceGroupName": "healthbotClient",
"api-version": "2020-10-20-preview",
"subscriptionId": "subid",
"resourceName": "MyBot",
"parameters": {
"sku": {
"name": "F0"
}
}
},
"responses": {
"200": {
"body": {
"location": "East US",
"name": "samplebotname",
"type": "Microsoft.HealthBot/healthBots",
"id": "/subscriptions/subscription-id/resourceGroups/OneResourceGroupName/providers/Microsoft.HealthBot/healthBots/samplebotname",
"sku": {
"name": "F0"
},
"properties": {
"botManagementPortalLink": "https://us.healthbot.microsoft.com/account/contoso/scenarios/manage"
},
"systemData": {
"createdBy": "jack@outlook.com",
"createdByType": "User",
"createdAt": "2020-05-05T17:18:19.1234567Z",
"lastModifiedBy": "ryan@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-05-06T17:18:19.1234567Z"
}
}
}
}
}
Loading