UploadFile
Last updated
Last updated
Uploads a file to the specified directory. If the file already exists (matching on the name), it will be overwritten. Otherwise a new file will be created. In either case, the file ID, whether created or updated, will be returned.
Name | Value |
---|---|
SUCCESS
ERROR
LOGIN_SECURITY_VIOLATION
parentID
The ID of the directory into which the file should be uploaded. Use 0 to upload to the root
name
The name of the uploaded file
base64File
The binary file contents encoded as a base64 string