create_upload_session
Create a reusable upload session to append files across multiple calls, group them under one Mediagraph upload, and resume interrupted batches.
Instructions
Create a long-lived upload session that you can append files to over multiple upload_file / upload_files calls.
Use this when batch-uploading many files from a script or agent loop, when you want them grouped under one upload in the Mediagraph UI, or when you need to resume after a crash.
Returns the session guid plus aws_key/bucket (used internally for direct-to-S3 multipart). Call set_upload_done with the returned id when the batch is complete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name shown in the Mediagraph UI | |
| note | No | Optional internal note | |
| contribution_id | No | Route through a contribution destination | |
| default_rights_package_id | No | Default rights package to apply to assets in this session |