Mega S4 icon

Mega S4

Interact with Mega.nz S4 object storage (S3-compatible)

Object → Upload

AI-generated

Summary

Upload a file or text content to a specified bucket and key within the Mega S4 object storage.

Inputs

  • Bucket Name (required) — Name of the bucket to upload to.
  • Object Key (required) — Key (path/name) for the object in the bucket.
  • Binary Data — Whether the data to upload is binary (file) or text; defaults to true.
  • Binary Property (required) — Name of the binary property containing the file data, used if Binary Data is true.
  • Text Data — Text content to upload, used if Binary Data is false.
  • Additional Fields — Optional extra parameters such as Content Type (MIME type) and custom metadata key-value pairs.

Output shape

a single record containing details about the uploaded object

The operation returns metadata about the uploaded object. Input items with binary data must include the specified binary property. Optional fields like content type and metadata can be specified but are not mandatory.

Discussion