Upload a file
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
X-Disable-Hooks
Request
This endpoint expects a multipart form containing a file.
spaceId
Space ID
environmentId
Environment ID
mode
The storage mode of file to insert, defaults to “import”
Allowed values:
file
actions
The actions attached to the file
origin
The origin of the file, ie filesystem
Allowed values:
Response
This endpoint returns an object.
data
Any uploaded file of any type