putBase64
Upload base64-encoded content to cloud storage buckets. Specify file name, target directory, and content type for organized storage.
Instructions
上传base64编码内容到存储桶
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base64Content | Yes | base64编码的内容 | |
| fileName | Yes | 文件名 (存在存储桶里的名称) | |
| targetDir | No | 目标目录 (存在存储桶的哪个目录) | |
| contentType | No | 内容类型,如 image/png (图片), application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document (文档) 等,如果base64带头部则默认自带的头部否则默认为 application/octet-stream |