Stage a manifested package (create a staging)
POST/packages/:packageId/stagings
Moves an EXPECTED package to STAGED at a staging location and
publishes PackageStaged. The location must be a facility-layout
Staging location of the package's site (422 not-staging-location
otherwise, ErrNotStagingLocation). Scan-driven and idempotent per
key: replaying the same key re-stages nothing.
Request
Responses
- 200
- 400
- 404
- 409
- 422
- 500
The package is STAGED (or was already).
Response Headers
True when this response was replayed from a stored idempotent execution (R5).
Malformed body or a missing/invalid required field (bad-request).
No such package (package-not-found).
Package refusal: already-shipped (unload after ship-confirm),
wrong-load, package-on-another-load, package-state, or
idempotency-key-reused.
The location is not a Staging location of the package's site (not-staging-location).
Unexpected failure (internal-error).