共用方式為


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

ErrorResponse

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