serve
Start serve instance
Changed onLaunches a new rclone serve endpoint (http, webdav, ftp, etc.) with the provided parameters. It also takes the options of the chosen server type, using the option names from options/info. Rclone rejects any other key.
post/serve/start
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
Confirmation of a newly started server, including ID and bound address.
Changes
- info
api tag
serveadded
- info
- info
added the non-success response with the status
- info