Get a File's Download URL
Create and retrieve a presigned or public download URL for a file. The URL creation is handled by the file service installed on the Medusa backend.
Request
Body Params application/json
Request samples
curl --location --request POST 'https://api.medusa-commerce.com/admin/uploads/download-url' \
--header 'Content-Type: application/json' \
--data-raw '{
"file_key": "string"
}'
Responses
application/json {
"download_url": "string"
}
Modified at 2023-10-08 12:50:29