iaas_reserve_package
Reserve and finalize a package import using TUS resumable uploads: start an import request to get the upload location, then complete it with a bundle ID or compressed bundle.
Instructions
Reserve package This operation has two purposes: 1. Make initial request for importing package. Location of the new package is returned as a response header if body is not provided. 2. Finalize the import when all batches are sent to the server if bundleIdis provided or make the complete import if compressedBundle is provided This API implements the TUS RFC: https://github.com/tus/tus-resumable-upload-protocol/blob/main/protocol.md POST /iaas/api/integrations-ipam/package-import
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Package import request specification | |
| apiVersion | No | The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about | |
| Tus-Resumable | Yes | Tus version (header) | |
| Upload-Length | Yes | Length of file in bytes (header) |