uploadMedia

Returns a pre-signed URL for uploading the specified media file.

Input fields

ArgumentTypeDescription
objectIdID!The ID of the object with which to associate the media file.
fileNameString!The name of the media file.
mediaTypeMediaType!The relationship of the media file to the object.

Return fields (UploadMedia!)

uploadUrl (String)

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

objectUrl (String)

The URL where the file is located after being uploaded.

error (String)

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

Last updated on