Apps - List Usage Scenarios
获取应用程序可用的使用方案。
GET {Endpoint}/luis/api/v2.0/apps/usagescenarios
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
Endpoint
|
path | True |
string |
支持的认知服务终结点(协议和主机名,例如:https://westus.api.cognitive.microsoft.com)。 |
请求头
| 名称 | 必需 | 类型 | 说明 |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
string[] |
包含可用应用程序使用方案的列表对象。 |
| Other Status Codes |
错误响应。 |
安全性
Ocp-Apim-Subscription-Key
类型:
apiKey
在:
header
示例
Successful Get Application Usage Scenarios request
示例请求
GET {Endpoint}/luis/api/v2.0/apps/usagescenarios
示例响应
[
"IoT",
"Bot",
"Mobile Application",
"Other"
]
定义
ErrorResponse
调用 API 上的作时出现错误响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| errorType |
string |