Upload a file to create a new document
Usage
upload_file(
file,
workspace_uuid,
name = NULL,
description = NULL,
parent_uuid = NULL,
use_proxy = FALSE
)
Arguments
- file
File path of document to upload
- workspace_uuid
UUID of the workspace to create the new document in
- name
Name to give document. If this isn't provided, the name of the file will be used.
- description
Optional description of document.
- parent_uuid
UUID of folder in the workspace to create the new document within. If not supplied, the document will be created in the top-level of the workspace.
- use_proxy
Logical to indicate whether to use proxy