Skip to main content
POST
Create a presigned upload for a workspace

Path Parameters

workspaceId
string
required
Minimum string length: 1

Body

application/json
fileName
string
required
Required string length: 1 - 200
contentType
string
required
Minimum string length: 1
contentLength
integer
required
Required range: -9007199254740991 < x <= 9007199254740991

Response

OK

uploadUrl
string
required

Presigned PUT URL to upload the file to.

headers
object
required

Headers that must be sent verbatim on the PUT (they're signed).

publicUrl
string
required

Public URL the uploaded object will be served from.

key
string
required

Object key of the uploaded file.