Description
Creates a path of type file by uploading it as multipart form
Endpoint
/path/file
Method
POST
Minimum Access Level
edit+ on parent folder or account holder in root.
Processing units
0
name
The name of the new file.
true
data
A file as byte stream.
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.
Default {accessTier:"none", hidden:true}.
metadata
A JSON with property "description" with the description of the file.
Last updated 8 months ago