importBundle
POST/api/v1/bundles
Verifies the signature against bundles.trusted_keys and the revocation list, the files against the manifest, the expiry and the version, and stores the bundle (docs/operations.md §5). The checks run in the request, so the operation of the answer has succeeded, with the Bundle as its result; a body is at most 64 MiB and its archive unpacks to at most 256 MiB (bundle.invalid beyond).
Request
Responses
- 202
- 409
- 413
- 422
Operation started
bundle.exists: this name and version are imported; bundle.downgrade: the same or a newer version of the pack is imported
request.too_large: over pipeline.maxEventBytes on intake, or the body limit of the operation
bundle.signature: bad signature, or a key not in bundles.trusted_keys; bundle.revoked: the key is on the revocation list; bundle.expired: past the manifest's expiry; bundle.invalid: the archive or manifest is malformed