UploadFile
Description
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.
Parameters
Name | Value |
---|---|
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 |
Sample Response
Return Codes
SUCCESS
ERROR
LOGIN_SECURITY_VIOLATION
Last updated