storage
Upload file
Upload a file to storage. Admins can upload to any user's path. Otherwise the path must belong to the current user.
post/api/storage/upload
Request
- Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
- URL: https://api.corabea.it/api/storage/upload
- Auth: HTTP bearer
Query parameters
file_pathstring required
Full path where to save the file (e.g., users/{user_id}/files/documents/consent.pdf)
replace_existingboolean
If true, replace existing file
Response
Successful Response
Example response
{
"file_path": "users/123e4567-e89b-12d3-a456-426614174000/avatar/profile_photo.jpg",
"message": "File caricato con successo"
}Changes
No recorded changes to this operation across all 55 revisions of this API.