uploadFile
open fun uploadFile(theFile: File, name: String, title: String, description: String, mimeType: String): RestRequest
Build a request that can upload a new file to the server, this will create a new file at version 1.
Return
A RestRequest that can perform this upload.
Parameters
theFile
The path of the local file to upload to the server.
name
The name of this file.
title
The title of this file.
description
A description of the file.
mimeType
The mime-type of the file, if known.