Apps - Package Published Application As Gzip
包 - 获取以二进制流 GZip 格式发布的 LUIS 应用程序包
将已发布的 LUIS 应用程序打包为要用于 LUIS 容器的 GZip 文件。
GET {Endpoint}/luis/api/v2.0/package/{appId}/slot/{slotName}/gzip
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
app
|
path | True |
string (uuid) |
应用程序 ID。 |
|
Endpoint
|
path | True |
string |
支持的认知服务终结点(协议和主机名,例如:https://westus.api.cognitive.microsoft.com)。 |
|
slot
|
path | True |
string |
发布槽名称。 |
请求头
| 名称 | 必需 | 类型 | 说明 |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
file |
已发布应用程序包的 GZip 二进制流。 Media Types: "application/octet-stream", "application/json" |
| Other Status Codes |
错误响应。 Media Types: "application/octet-stream", "application/json" |
安全性
Ocp-Apim-Subscription-Key
类型:
apiKey
在:
header
示例
Successful Get published application package request
示例请求
GET {Endpoint}/luis/api/v2.0/package/363187f1-c573-46b3-bc4c-ae01d686e68e/slot/PRODUCTION/gzip
示例响应
"{binary}"
定义
ErrorResponse
调用 API 上的作时出现错误响应。
| 名称 | 类型 | 说明 |
|---|---|---|
| errorType |
string |