Skip to content

upload

FreeRuns at once; you can set it to Ask first

Same action in the terminal: capturemann upload

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
NameTypeRequiredDefaultDescription
capture_idstringnoCapture id, e.g. from capture_screenshot or list_library. (min length 1)
filestringnoAbsolute path of a file to copy instead of a capture. (min length 1)
destination_idstringnoA destination id from list_destinations; the default one when absent.
folderstringnoFolder inside the destination; replaces its folder pattern. (min length 1)
whatexport | original | bothnoWhat to send of a capture; the destination's own choice when absent.
request_idstringnoIdempotency 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"}}