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

Apps - List Usage Scenarios

Gets the application available usage scenarios.

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

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 usage scenarios.

Other Status Codes

ErrorResponse

Error Response.

Security

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Examples

Successful Get Application Usage Scenarios request

Sample request

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

Sample response

[
  "IoT",
  "Bot",
  "Mobile Application",
  "Other"
]

Definitions

ErrorResponse

Error response when invoking an operation on the API.

Name Type Description
errorType

string