Skip to main content

UploadMedia Object

Represents the collection of information necessary to upload media file.

Return fields

contentType (String)

The content type (MIME type) that must be used when uploading the file.

error (String)

Contains any error message that occurred as part of generating the pre-signed URL.

objectUrl (String)

The URL where the file is located after being uploaded.

uploadUrl (String)

The pre-signed URL to which the file should be uploaded.