operations
Read a single file
Changed onReturns the contents of one file in the JSON response. It reads at most 2 MiB, so use offset and count, head or tail to read part of a larger file. Only one of those three forms can be used in a call. To stream whole files, use rclone's file serving with --rc-serve instead.
post/operations/getfile
Request
- Base URLhttp://localhost:5572
- Auth
- HTTP basic
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Prefer'respond-async'
Set to respond-async to run the call in the background. Rclone returns a 202 with a job ID right away, and job/status reports progress. This has the same effect as the _async param in rclone's docs, but _async alone returns a 200 instead of a 202.
Request body
Response
Contents of the file from operations/getfile.
Changes
- info
endpoint added
- info