Apps - List Domains
获取可用的应用程序域。
GET {Endpoint}/luis/api/v2.0/apps/domains
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 Domains request
示例请求
GET {Endpoint}/luis/api/v2.0/apps/domains
示例响应
[
"Booking & Reference",
"Business",
"Comics",
"Communication",
"Education",
"Entertainment",
"Finance",
"Food & Nutrition",
"Gaming",
"Health & Fitness",
"Home Automation",
"Media & Video",
"Medical",
"Music & Audio",
"Navigation & Maps",
"News & Magazines",
"Personalization",
"Productivity",
"Real Estate",
"Scheduler",
"Shopping",
"Social Network",
"Sports",
"Telecom",
"Tools",
"Transportation",
"Translation",
"Travel & Local",
"Weather",
"Others"
]
定义
ErrorResponse
调用 API 上的作时出现错误响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| errorType |
string |