你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Apps - List Domains

获取可用的应用程序域。

GET {Endpoint}/luis/api/v2.0/apps/domains

URI 参数

Name In Required Type Description
Endpoint
path True
  • string

支持的认知服务终结点 (协议和主机名,例如: https://westus.api.cognitive.microsoft.com) 。

请求头

Name Required Type Description
Ocp-Apim-Subscription-Key True
  • string

响应

Name Type Description
200 OK
  • string[]

包含可用应用程序域的列表对象。

Other Status Codes

错误响应。

安全性

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

示例

Successful Get Application Domains request

Sample Request

GET {Endpoint}/luis/api/v2.0/apps/domains

Sample Response

[
  "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 上调用操作时出现错误响应。

Name Type Description
errorType
  • string