你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Apps - List Domains
Gets the available application domains.
GET {Endpoint}/luis/api/v2.0/apps/domains
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
Endpoint
|
path | True |
string |
Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com). |
Request Header
Name | Required | Type | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
Responses
Name | Type | Description |
---|---|---|
200 OK |
string[] |
A list object containing the available application domains. |
Other Status Codes |
Error Response. |
Security
Ocp-Apim-Subscription-Key
Type:
apiKey
In:
header
Examples
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"
]
Definitions
ErrorResponse
Error response when invoking an operation on the API.
Name | Type | Description |
---|---|---|
errorType |
string |