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/api/v2.0/package/{appId}/versions/{versionId}/gzip
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
app
|
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). |
version
|
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 |
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/versions/0.1/gzip
Sample response
"{binary}"
Definitions
ErrorResponse
Error response when invoking an operation on the API.
Name | Type | Description |
---|---|---|
errorType |
string |