Write upload content
artifact_site_upload_writeUpload file chunks sequentially to an active upload session; mark the final chunk to complete each file, enabling multi-file publishing without publishing automatically.
Instructions
Transfer one file's bytes into a remote upload. Use after upload_start; file creation and assembly are automatic. Send files and chunks sequentially, index starting at 0 for each relative path, at most 256 KiB decoded bytes per chunk. Set final:true on the last chunk of EVERY file (empty files use empty base64). Identical chunk retries are safe, including the final chunk; finalized files cannot be changed in this upload. After all files finish, use publish with upload_id or update with slug, upload_id and expected_version. Does not publish by itself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Relative uploaded filename, e.g. assets/chart.png; never an absolute local path. | |
| final | Yes | True only for the last chunk of this file. | |
| index | Yes | Zero-based sequential chunk index within this file. | |
| base64 | Yes | Base64-encoded bytes, at most 262144 decoded bytes. | |
| tenant_id | No | Destination tenant for creation; defaults to the account tenant. | |
| upload_id | Yes | versionId returned by upload_start. | |
| share_token | No | Token from a user-provided share URL; carries only that share permission. |