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

Apps - Package Trained Application As Gzip

package - Gets trained LUIS application package in binary stream GZip format
Packages trained LUIS application as GZip file to be used in the LUIS container.

GET {Endpoint}/luis/authoring/v3.0-preview/package/{appId}/versions/{versionId}/gzip

URI Parameters

Name In Required Type Description
appId
path True

string

uuid

The application ID.

Endpoint
path True

string

Supported Cognitive Services endpoints (protocol and hostname, for example: https://westus.api.cognitive.microsoft.com).

versionId
path True

string

The version ID.

Request Header

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

string

Responses

Name Type Description
200 OK

file

The GZip binary stream of the trained application package.

Media Types: "application/octet-stream", "application/json"

Other Status Codes

ErrorResponse

Error Response.

Media Types: "application/octet-stream", "application/json"

Security

Ocp-Apim-Subscription-Key

Type: apiKey
In: header

Examples

Successful Get published application package request

Sample request

GET {Endpoint}/luis/authoring/v3.0-preview/package/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/0.1/gzip

Sample response

"{binary}"

Definitions

ErrorResponse

Error response when invoking an operation on the API.

Name Type Description
errorType

string