Blob Storage — Bucket File Upload v1
2 min
bucket_upload_file
sync(bucket_name: str, client: AuthenticatedClient | Client, body: BucketUploadFileBody | Unset = UNSET) -> UUID | list[ErrorResponse] | NoneParameter | Type | Default |
|---|---|---|
bucket_name | str | required |
client | AuthenticatedClient | Client | required |
body | BucketUploadFileBody | Unset | UNSET |
Returns: UUID | list[ErrorResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |