To import files using the or endpoints, you need to do one of the following:
Pass each file's
mimeTypeparameter of the request. For example, 'image/png'. in the
Pass each file's name and extenstion. For example, 'my-image.png'.
If you don't know a file's extension or MIME type, pass its media type in the
mediaTypeparameter of the request. For example, 'IMAGE'. Note that this option only works if the server hosting the media allows a "HEAD" request.