benchling_api_client.api.blobs.create_multipart_blob module¶
- async asyncio(*, client: Client, json_body: BlobMultipartCreate) Optional[Union[Blob, BadRequestError]] ¶
Blobs may be uploaded using multi-part upload. This endpoint initiates the upload process - blob parts can then be uploaded in multiple blob parts.
## Multipart Upload
If a blob is larger than 10MB, it should be uploaded in multiple parts using the following endpoints: - [Start a multi-part blob upload](#/Blobs/createMultipartBlob) - [Upload a blob part](#/Blobs/createBlobPart) - [Complete a blob upload](#/Blobs/completeMultipartBlob)
Each part must be at least 5MB in size, except for the last part. We recommend keeping each part to under 10MB when uploading.
Each part has a partNumber and an eTag. The part number can be any number between 1 to 10,000, inclusive - this number should be unique and identifies the order of the part in the final blob. The eTag of a part is returned in the API response - this eTag must be specified when completing the upload in order to ensure the server has received all the expected parts.
- async asyncio_detailed(*, client: Client, json_body: BlobMultipartCreate) Response[Union[Blob, BadRequestError]] ¶
- sync(*, client: Client, json_body: BlobMultipartCreate) Optional[Union[Blob, BadRequestError]] ¶
Blobs may be uploaded using multi-part upload. This endpoint initiates the upload process - blob parts can then be uploaded in multiple blob parts.
## Multipart Upload
If a blob is larger than 10MB, it should be uploaded in multiple parts using the following endpoints: - [Start a multi-part blob upload](#/Blobs/createMultipartBlob) - [Upload a blob part](#/Blobs/createBlobPart) - [Complete a blob upload](#/Blobs/completeMultipartBlob)
Each part must be at least 5MB in size, except for the last part. We recommend keeping each part to under 10MB when uploading.
Each part has a partNumber and an eTag. The part number can be any number between 1 to 10,000, inclusive - this number should be unique and identifies the order of the part in the final blob. The eTag of a part is returned in the API response - this eTag must be specified when completing the upload in order to ensure the server has received all the expected parts.
- sync_detailed(*, client: Client, json_body: BlobMultipartCreate) Response[Union[Blob, BadRequestError]] ¶