pub fn alpha_upload(
client: &impl UserAuthClient,
arg: &UploadArg,
body: &[u8],
) -> Result<FileMetadata, Error<UploadError>>
๐Deprecated: replaced by upload
Available on crate features
sync_routes
and dbx_files
and unstable
only.Expand description
Create a new file with the contents provided in the request. Note that the behavior of this
alpha endpoint is unstable and subject to change. Do not use this to upload a file larger than
150 MB. Instead, create an upload session with
upload_session_start()
.
ยงStability
PREVIEW: This function may change or disappear without notice.