Store File
Fields
File UUID
The uuid of the file to be stored.
Default: null
Returned Values
Uploadcare's API response is passed back through the below returned values so you can elegantly handle errors in your application
Response
The full response object from the API
Example:
{
"datetimeRemoved": null,
"datetimeStored": "2024-11-20T02:04:33.671931Z",
"datetimeUploaded": "2024-11-20T02:04:33.590325Z",
"isImage": true,
"isReady": true,
"mimeType": "image/jpeg",
"originalFileUrl": "https://ucarecdn.com/29899263-abc6-4361-99ae-27ea5cd258b8/https___82c819c3392e910f20b7ce63aac0f3d1cdnbubbleio_f1706692346545x776164874982252500_Screenshot202024013120at20100823.jpeg",
"originalFilename": "https___82c819c3392e910f20b7ce63aac0f3d1.cdn.bubble.io_f1706692346545x776164874982252500_Screenshot%202024-01-31%20at%2010.08.23.jpeg",
"size": 11481,
"url": "https://api.uploadcare.com/files/29899263-abc6-4361-99ae-27ea5cd258b8/",
"uuid": "29899263-abc6-4361-99ae-27ea5cd258b8",
"variations": null,
"contentInfo": {
"mime": { "mime": "image/jpeg", "type": "image", "subtype": "jpeg" },
"image": {
"dpi": [72, 72],
"width": 678,
"format": "JPEG",
"height": 312,
"sequence": false,
"colorMode": "RGB",
"orientation": null,
"geoLocation": null,
"datetimeOriginal": null
}
},
"metadata": {}
}
Success
A boolean value on whether the request was successful. You can use this for conditional workflows.
Error Message
The error message that is returned from Uploadcare when storing the file fails.
All error messages are listed here
Error Code
The error code that is returned from Uploadcare when storing the file fails.
All error codes are listed here
Last updated