Create a presigned upload URL for a marketplace demo image asset
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Request
The filename of the image asset to upload, relative to the demo folder. Must not contain path separators or start with ..
The size of the image asset in bytes. Signed into the presigned URL as Content-Length, so the client must upload exactly this many bytes. Capped at 5000000 bytes (5 MB).
The MIME type of the image asset. Signed into the presigned URL as Content-Type, so the client must upload with a matching header. Must be one of the following MIME types: image/gif, image/jpeg, image/png, image/svg+xml, image/webp, image/x-icon.
image/gif- image/gifimage/jpeg- image/jpegimage/png- image/pngimage/svg+xml- image/svg+xmlimage/webp- image/webpimage/x-icon- image/x-icon
When true, skip the duplicate-name check and return a presigned URL that overwrites an existing image with the same name.
Response
Time-limited presigned PUT URL for the image asset upload. Reusable until expiry within the signed key, Content-Length, and Content-Type constraints; each successful PUT overwrites the object at that key.