Skip to main content
POST
Presign Cover Image

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required
Pattern: ^[1-9]\d*$
id
string
required
Pattern: ^[1-9]\d*$

Body

application/json
originalFileName
string
required
Required string length: 1 - 255
contentType
enum<string>
required
Available options:
image/jpeg,
image/png,
image/webp
fileSizeBytes
integer
required
Required range: x <= 5000000
checksumSha256
string
required
Pattern: ^[a-fA-F0-9]{64}$
collectionVersion
integer
required
Required range: x <= 9007199254740991

Response

200 - application/json
uploadSessionId
string
required
postUrl
string
required
postFields
object
required
expiresAt
string
required
collectionVersion
number
required