API: Uploading files

Target URL /api.php/Drive/files/upload
Required scope upload
HTTP Method PUT
Output format JSON

Request Parameters Reference

Parameter Type Description
path string The FileRun path of the target folder.
filePath string Subpath and file name.

Example

curl -X PUT --header "Authorization: Bearer neY6uAjKO1KqQh98RZZ5DOgYjIPMuu9duvvHGUiN" -T your-file.ext https://demo.filerun.com/api.php/Drive/files/upload/?path=/ROOT/HOME/existing-folder&filePath=New-Folder/my-file.ext&totalSize=123&startByte=0

Optional parameters: