Creates an upload URL for a data source file.
Before submitting a job to import data from a file to a collection, call this method to generate an upload URL. Use the uploadUrl in the response to upload your source file. For example:
curl --request PUT --upload-file "${path_to_file}" "${uploadUrl}"
Note: The URL is valid for 15 minutes.
This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.