Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
update OP Channels_ListWithKeys
  • Loading branch information
zhixzhan committed Dec 8, 2021
commit 8281dd28eefa944347a751e299bbf0a09d6497fe
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@
"200": {
"description": "If resource is retrieved successfully, the service should return 200 (OK).",
"schema": {
"$ref": "#/definitions/BotChannel"
"$ref": "#/definitions/ListChannelWithKeysResponse"
}
},
"default": {
Expand Down Expand Up @@ -1744,6 +1744,25 @@
},
"description": "The list of bot service operation response."
},
"ListChannelWithKeysResponse": {
"type": "object",
"description": "The ARM channel of list channel with keys operation response.",
"allOf": [
{
"$ref": "#/definitions/BotChannel"
}
],
"properties": {
"resource": {
"$ref": "#/definitions/Channel",
"description": "The set of properties specific to bot channel resource"
},
"setting": {
"$ref": "#/definitions/ChannelSettings",
"description": "Channel settings"
}
}
},
"BotChannel": {
"type": "object",
"description": "Bot channel resource definition",
Expand All @@ -1759,6 +1778,51 @@
}
}
},
"ChannelSettings": {
"type": "object",
"description": "Channel settings definition",
"properties": {
"extensionKey1": {
"type": "string",
"description": "The extensionKey1"
},
"extensionKey2": {
"type": "string",
"description": "The extensionKey2"
},
"sites": {
"type": "array",
"items": {
"$ref": "#/definitions/Site"
},
"description": "The list of sites"
},
"channelId": {
"type": "string",
"description": "The channel id"
},
"channelDisplayName": {
"type": "string",
"description": "The channel display name"
},
"botId": {
"type": "string",
"description": "The bot id"
},
"botIconUrl": {
"type": "string",
"description": "The bot icon url"
},
"isEnabled": {
"type": "boolean",
"description": "Whether this channel is enabled for the bot"
},
"disableLocalAuth": {
"type": "boolean",
"description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication."
}
}
},
"Channel": {
"type": "object",
"description": "Channel definition",
Expand Down Expand Up @@ -2562,6 +2626,27 @@
"siteName"
]
},
"Site": {
"allOf": [
{
"$ref": "#/definitions/WebChatSite"
},
{
"$ref": "#/definitions/DirectLineSite"
}
],
"properties": {
"isTokenEnabled": {
"type": "boolean",
"description": "Whether this site is token enabled for channel"
},
"eTag": {
"type": "string",
"description": "Entity Tag"
}
},
"description": "A site for the channel"
},
"SiteInfo": {
"properties": {
"siteName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,58 @@
"responses": {
"200": {
"body": {
"resource": {
"properties": {
"sites": [
{
"siteId": "aaaaaaaaaaa",
"siteName": "aaaaaaaaaaaa",
"key": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"key2": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"isEnabled": true,
"isV1Enabled": true,
"isV3Enabled": true,
"isSecureSiteEnabled": false,
"isBlockUserUploadEnabled": false,
"trustedOrigins": [
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
]
}
]
},
"etag": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channelName": "DirectLineChannel",
"location": "aaaaaa"
},
"setting": {
"extensionKey1": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"extensionKey2": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sites": [
{
"siteId": "aaaaaaaaaaa",
"siteName": "aaaaaaaaaaaa",
"key": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"key2": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"isEnabled": true,
"isV1Enabled": true,
"isV3Enabled": true,
"isWebchatPreviewEnabled": false,
"isSecureSiteEnabled": false,
"isBlockUserUploadEnabled": false,
"trustedOrigins": [
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
],
"isTokenEnabled": false,
"eTag": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"channelId": "aaaaaaaaaa",
"channelDisplayName": "aaaaaaaaaaa",
"botId": "aaaaaaaaaaaaaaaaaaaa",
"botIconUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"isEnabled": true,
"disableLocalAuth": false
},
"location": "global",
"properties": {
"channelName": "EmailChannel",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@
"200": {
"description": "If resource is retrieved successfully, the service should return 200 (OK).",
"schema": {
"$ref": "#/definitions/BotChannel"
"$ref": "#/definitions/ListChannelWithKeysResponse"
}
},
"default": {
Expand Down Expand Up @@ -1460,6 +1460,25 @@
},
"description": "The list of bot service operation response."
},
"ListChannelWithKeysResponse": {
"type": "object",
"description": "The ARM channel of list channel with keys operation response.",
"allOf": [
{
"$ref": "#/definitions/BotChannel"
}
],
"properties": {
"resource": {
"$ref": "#/definitions/Channel",
"description": "The set of properties specific to bot channel resource"
},
"setting": {
"$ref": "#/definitions/ChannelSettings",
"description": "Channel settings"
}
}
},
"BotChannel": {
"type": "object",
"description": "Bot channel resource definition",
Expand All @@ -1475,6 +1494,51 @@
}
}
},
"ChannelSettings": {
"type": "object",
"description": "Channel settings definition",
"properties": {
"extensionKey1": {
"type": "string",
"description": "The extensionKey1"
},
"extensionKey2": {
"type": "string",
"description": "The extensionKey2"
},
"sites": {
"type": "array",
"items": {
"$ref": "#/definitions/Site"
},
"description": "The list of sites"
},
"channelId": {
"type": "string",
"description": "The channel id"
},
"channelDisplayName": {
"type": "string",
"description": "The channel display name"
},
"botId": {
"type": "string",
"description": "The bot id"
},
"botIconUrl": {
"type": "string",
"description": "The bot icon url"
},
"isEnabled": {
"type": "boolean",
"description": "Whether this channel is enabled for the bot"
},
"disableLocalAuth": {
"type": "boolean",
"description": "Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication."
}
}
},
"Channel": {
"type": "object",
"description": "Channel definition",
Expand Down Expand Up @@ -2274,6 +2338,27 @@
"siteName"
]
},
"Site": {
"allOf": [
{
"$ref": "#/definitions/WebChatSite"
},
{
"$ref": "#/definitions/DirectLineSite"
}
],
"properties": {
"isTokenEnabled": {
"type": "boolean",
"description": "Whether this site is token enabled for channel"
},
"eTag": {
"type": "string",
"description": "Entity Tag"
}
},
"description": "A site for the channel"
},
"SiteInfo": {
"properties": {
"siteName": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,58 @@
"responses": {
"200": {
"body": {
"resource": {
"properties": {
"sites": [
{
"siteId": "aaaaaaaaaaa",
"siteName": "aaaaaaaaaaaa",
"key": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"key2": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"isEnabled": true,
"isV1Enabled": true,
"isV3Enabled": true,
"isSecureSiteEnabled": false,
"isBlockUserUploadEnabled": false,
"trustedOrigins": [
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
]
}
]
},
"etag": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"channelName": "DirectLineChannel",
"location": "aaaaaa"
},
"setting": {
"extensionKey1": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"extensionKey2": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sites": [
{
"siteId": "aaaaaaaaaaa",
"siteName": "aaaaaaaaaaaa",
"key": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"key2": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"isEnabled": true,
"isV1Enabled": true,
"isV3Enabled": true,
"isWebchatPreviewEnabled": false,
"isSecureSiteEnabled": false,
"isBlockUserUploadEnabled": false,
"trustedOrigins": [
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
],
"isTokenEnabled": false,
"eTag": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"channelId": "aaaaaaaaaa",
"channelDisplayName": "aaaaaaaaaaa",
"botId": "aaaaaaaaaaaaaaaaaaaa",
"botIconUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"isEnabled": true,
"disableLocalAuth": false
},
"location": "global",
"properties": {
"channelName": "EmailChannel",
Expand Down