Imports a file to the Media Manager using an external url.
Returns information about the imported file.
Specify the parentFolderId and filePath parameters to specify which folder you want the file to be imported to.
If no folder is specified, the file is imported to the media-root folder.
Notes:
To import a file, you need to do one of the following:
mimeType field of the request. For example, mimeType: 'image/jpeg'.displayName or url field of the request. For example, displayName: 'Example Image.jpeg or url: https://www.example.com/image.jpeg.Note: If you want to validate the media type, specify the file's expected media type in the optional mediaType field of the request. For example, mediaType: 'IMAGE'.
Publicly accessible external file URL.
Options to use when importing a single file.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.