uploadToSignedUrl

suspend fun BucketApi.uploadToSignedUrl(path: String, token: String, file: <Error class: unknown class>, options: UploadOptionBuilder.() -> Unit = {}): FileUploadResponse(source)

Uploads a file in BucketApi.bucketId under path using a presigned url

Return

the key to the uploaded file

Parameters

path

The path to upload the file to

token

The pre-signed url token

file

The file to upload

options

Additional options for the upload


suspend fun BucketApi.uploadToSignedUrl(path: String, token: String, file: <Error class: unknown class>, options: UploadOptionBuilder.() -> Unit = {}): FileUploadResponse(source)

Uploads a file in BucketApi.bucketId under path using a presigned url

Parameters

path

The path to upload the file to

token

The pre-signed url token

file

The file to upload

options

Additional options for the upload

suspend fun BucketApi.uploadToSignedUrl(path: String, token: String, uri: Uri, options: UploadOptionBuilder.() -> Unit = {}): FileUploadResponse(source)

Uploads a file in BucketApi.bucketId under path using a presigned url

Return

the key to the updated file

Parameters

path

The path to upload the file to

token

The pre-signed url token

uri

The uri to upload