Files

Upload a file

POST

Request

This endpoint expects a multipart form containing a file.
spaceIdstringRequired
Space ID
environmentIdstringRequired
Environment ID
modeenumOptional
The storage mode of file to insert, defaults to "import"
Allowed values: importexport
filefile
actionslist of objectsOptional
The actions attached to the file
originenumOptional
The origin of the file, ie filesystem
Allowed values: filesystemgoogledriveboxonedrive

Response

This endpoint returns an object
data
object
Any uploaded file of any type

Errors