OneVision icon

OneVision

Interact with OneVision Workspace Server REST API

Storage → Upload File

AI-generated

Summary

Upload a file to the OneVision Workspace Server storage at a specified resource path with given file content.

Inputs

  • Resource Path (required) — Path to the file or folder under resources where the file will be uploaded, e.g., 'folder/subfolder/file.pdf'.
  • File Content (required) — Content of the file to upload, provided as a string representing binary data or binary data from a previous node.

Output shape

a single record containing the server's JSON response to the upload operation

The response shape depends on the OneVision API's upload file endpoint. Errors will throw unless 'Continue On Fail' is enabled, in which case error details are returned as item JSON.

Discussion