destination: the destination path of the upload/folder creation relative to the user data root.
destination should point to a (would-be) directory, otherwise NotADirectoryError will occur.
(default value is ”/”, the user data root directory itself)
Additional input
file: the file to be uploaded (optional)
if a file is attached, uploads the file to the destination path
Returns a Content Pydantic object containing
information on the file uploaded
if no file is attached, creates an empty folder following the destination path
Returns a Content Pydantic object containing
information on the newly-created folder