Apps - Package Published Application As Gzip

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

GET {Endpoint}/luis/api/v2.0/package/{appId}/slot/{slotName}/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).

slotName
path True

string

The publishing slot name.

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 published 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/api/v2.0/package/363187f1-c573-46b3-bc4c-ae01d686e68e/slot/PRODUCTION/gzip

Sample response

"{binary}"

Definitions

ErrorResponse

Error response when invoking an operation on the API.

Name Type Description
errorType

string