Create new file
Description
Creates a file by uploading it as multipart form
Endpoint
/path/file
Method
POST
Access Level Rules
Minimum Access Level
edit+ on parent folder or account holder in root.
Processing Units
Processing units
0
Parameters
Name
Description
Required
Default
name
The name of the new file.
true
data
A file as byte stream
true
parentId
The id of the parent folder of the new path.
If omitted the new path is placed in your myDrive root.
false
Default null.
publicAccess
Public access object with properties "hidden" and "accessTier" "accessTier" must be between "none" and "edit" and "hidden" must be a boolean.
false
Default {accessTier:"none", hidden:true}.
metadata
A JSON with property "description" with the description of the file.
false
Default null.
Last updated
Was this helpful?