Upload File

Go to Product

Uploads a single file to a project, for example to attach it to a schedule or environment as an additional file.

Options

File
Project
The project to upload the file into (its ID).
Result Format

Specify how the response should be mapped to the table output. The following formats are available:

Structured Table: Returns a parsed table with data split into rows and columns.

  • ID: Stringified ObjectId (hexadecimal string with 24 characters). See ObjectId
  • Kind: Identifies this object as a file.
  • Original Name: File name including the extension.
  • Mime Type: MIME type of the file.
  • Size: File size in bytes.
  • Path: Internal storage path.
  • Created At: When the file was created.
  • Updated At: When the file was last changed (renamed or its content replaced).
  • Created By: A NodePit Runner user account.
  • Updated By: A NodePit Runner user account.
  • Project: Stringified ObjectId (hexadecimal string with 24 characters). See ObjectId
  • Deletable: Whether this file can be deleted (no environment, schedule, or run references it).
  • Type: Whether a file was manually uploaded (upload) or produced automatically as a run's output (artifact).
  • Download: URL to download the file, relative the API base URL. Absent if the file's content is no longer available.
  • Preview: URL to preview the file, relative the API base URL. Only ever present for KNIME workflow files.

Raw Response: Returns the raw response in a single row with the following columns:

  • body: Response body
  • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.