Copy a capture (or one file) to a destination in the background.
- Tier: Free, changes something: runs at once; the user can set it to Ask first.
- Read-only: no
- CLI:
capturemann upload - Spec: STO-1, STO-3, STO-5
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
capture_id | string | no | Capture id, e.g. from capture_screenshot or list_library. (min length 1) | |
file | string | no | Absolute path of a file to copy instead of a capture. (min length 1) | |
destination_id | string | no | A destination id from list_destinations; the default one when absent. | |
folder | string | no | Folder inside the destination; replaces its folder pattern. (min length 1) | |
what | export | original | both | no | What to send of a capture; the destination's own choice when absent. | |
request_id | string | no | Idempotency key; a repeat within 24 h returns the first result. (min length 1, max length 256) |
At least one of: (capture_id) or (file).
Returns: job_id, destination_id, what, state.
Errors: user_declined, not_found (plus the common errors above).
JSON
{"name": "upload", "arguments": {"capture_id": "rec_06GYEVMCKZSRHR46", "destination_id": "gdrive_main", "what": "export"}}