uploadMedia Query
Returns a pre-signed URL for uploading the specified media file.
#
Input fieldsArgument | Type | Description |
---|---|---|
objectId | ID! | The ID of the object with which to associate the media file. |
fileName | String! | The name of the media file. |
mediaType | MediaType! | The relationship of the media file to the object. |
UploadMedia!)#
Return fields (String)#
error (Contains any error message that occurred as part of generating the pre-signed URL.
String)#
objectUrl (The URL where the file is located after being uploaded.
String)#
uploadUrl (The pre-signed URL to which the file should be uploaded.