pub async fn upload_blob(
http: &Client,
pds_endpoint: &str,
access_token: &str,
data: Vec<u8>,
mime_type: &str,
) -> Result<BlobRef, RepoError>Expand description
Upload a blob to the authenticated user’s PDS.
Calls com.atproto.repo.uploadBlob with the given data and MIME type.
Returns a BlobRef that can be embedded in record fields.