Commit a chunked file write
file_write_commitFinalize a chunked file upload to create or overwrite an app file at a specified path. Retries with the same command ID avoid re-uploading.
Instructions
Finalize an upload as an app file (create or overwrite by path) — the chunked equivalent of file_write. The upload is consumed either way; on failure, restart from file_write_begin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime | No | ||
| path | Yes | logical file name, e.g. 'video.mp4' or 'exports/backup.zip' | |
| upload_id | Yes | ||
| command_id | No | idempotency key (uuid); auto-generated if omitted. A retried commit with the same id returns the original receipt instead of demanding a re-upload | |
| expected_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| mime | Yes | ||
| path | Yes | ||
| size | Yes | ||
| sha256 | Yes | ||
| version | Yes | ||
| files_version | Yes |