pub fn alpha_upload<'a>(
client: &'a impl UserAuthClient,
arg: &'a UploadArg,
body: Bytes,
) -> impl Future<Output = Result<FileMetadata, Error<UploadError>>> + Send + 'a
๐Deprecated: replaced by upload
Available on crate features
async_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.