create_download
Add one or more Synology Download Station tasks by supplying URIs (HTTP, FTP, magnet) or a local .torrent/.nzb file, plus optional destination and credentials.
Instructions
Create one or more download tasks. Pass a comma-separated list of URIs (HTTP, FTP, magnet, etc.) via uri OR pass a local path to a .torrent / .nzb file via torrent_file_path. destination is a share-relative path (omit to use your default destination; a non-manager who has none must set it first with set_download_config, because DS won't start their tasks until then). username / password may be supplied for protected URLs (not for torrent files). Returns the new task IDs when DSM provides them (not for URLs with username / password); long magnet links and URI lists are supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | No | ||
| password | No | ||
| username | No | ||
| destination | No | ||
| torrent_file_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |