update
suspend fun BucketApi.update(path: String, file: <Error class: unknown class>, options: UploadOptionBuilder.() -> Unit = {}): FileUploadResponse(source)
suspend fun BucketApi.update(path: String, file: <Error class: unknown class>, options: UploadOptionBuilder.() -> Unit = {}): FileUploadResponse(source)
Updates a file in BucketApi.bucketId under path
Parameters
path
The path to be updated
file
The new file
options
Additional options for the upload
suspend fun BucketApi.update(path: String, uri: Uri, options: UploadOptionBuilder.() -> Unit = {}): FileUploadResponse(source)
Updates a file in BucketApi.bucketId under path
Return
the key to the updated file
Parameters
path
The path to update the file to
uri
The uri to update
options
Additional options for the upload