Run an rclone command
Changed onExecutes a standard rclone CLI command remotely and streams or returns its output. Don't combine the STREAM return types with Prefer: respond-async, because the 202 is sent before the command runs.
Request
- Base URLhttp://localhost:5572
- Auth
- HTTP basic
- or none
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
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
Outcome of a command run with core/command. With the default returnType this is JSON. The STREAM return types write the output to the body as plain text.
Changes
- info
api tag
coreadded
- info
- warning
removed the optional property
from the response with the status - info
added the media type
text/plainfor the response with the status - info
added the non-success response with the status
- warning