Upload a local file or archive
Send raw file bytes, not multipart form data. The server packages a file or extracts a supported archive. Read max_import_bytes and upload_idempotency from GET /v1/assets first. When upload_idempotency is true, send a stable Idempotency-Key and X-Nodus-SHA256 for verified replay of the same bytes and name. An in-progress, failed or deleted keyed upload returns an actionable conflict without creating a replacement. Unkeyed uploads retain their existing behavior. After an uncertain unkeyed response, inspect the asset list before repeating the request.
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Query parameters
Filename, including its archive extension when uploading an archive.
Headers
Optional stable upload identity. Requires X-Nodus-SHA256. Replaying identical bytes and name returns the same ready asset.
SHA-256 of the exact request bytes. Required with Idempotency-Key. Different bytes or name cannot reuse an upload key.
Request body application/octet-stream
Response
Upload complete and asset ready
Changes
No recorded changes to this operation across all 70 revisions of this API.