Upload a temporary file.
POST/storage/temp
Uploads a file buffer to temporary storage and provides a URL. The file is deleted after 24 hours.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
fileNamestring
The file name. Default is a random string.
Example:
my-file.txt
bufferstringrequired
The Base64-encoded file buffer.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
urlstringrequired
The URL to download the file.
fileNamestringrequired
The file name used to upload the file.
{
"url": "string",
"fileName": "string"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}