benchling_api_client.api.blobs.create_blob module

async asyncio(*, client: Client, json_body: BlobCreate) Optional[Union[Blob, BadRequestError]]

This endpoint uploads a blob in a single API call.

Blobs larger than 10MB should be uploaded in [multiple parts](#/Blobs/createMultipartBlob). The data64 parameter is the base64-encoded part contents, and the md5 parameter is the hex-encoded MD5 hash of the part contents. For example, given the string hello, data64 is aGVsbG8= and md5 is 5d41402abc4b2a76b9719d911017c592.

async asyncio_detailed(*, client: Client, json_body: BlobCreate) Response[Union[Blob, BadRequestError]]
sync(*, client: Client, json_body: BlobCreate) Optional[Union[Blob, BadRequestError]]

This endpoint uploads a blob in a single API call.

Blobs larger than 10MB should be uploaded in [multiple parts](#/Blobs/createMultipartBlob). The data64 parameter is the base64-encoded part contents, and the md5 parameter is the hex-encoded MD5 hash of the part contents. For example, given the string hello, data64 is aGVsbG8= and md5 is 5d41402abc4b2a76b9719d911017c592.

sync_detailed(*, client: Client, json_body: BlobCreate) Response[Union[Blob, BadRequestError]]