Create new file
Last updated
Last updated
Name | Description | Required | Default |
---|---|---|---|
Description
Creates a 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
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.