Actions6
Custom Read Call (Whitelisted)
AI-generatedSummary
Executes a custom read‑only call to the Synology Download Station API (whitelisted to SYNO.DownloadStation2.* or SYNO.DownloadStation.*) using the supplied API name, method, version, and JSON parameters. The node logs in if needed, sends the request, and returns the DSM API response data as the json field of each output item.
Inputs
- api (required) — The DSM API to call, must start with SYNO.DownloadStation2. or SYNO.DownloadStation.
- method (required) — The method to invoke (read‑only only; destructive methods such as create, add, upload, edit, update, set, delete, remove, pause, resume, start, stop, clear, clean, move, rename, force_* are blocked).
- version (required) — API version number.
- paramsJson (required) — Parameters for the API call, supplied as a JSON object.
Output shape
json
Each input item triggers one API call. The raw DSM response data is returned in the
jsonproperty of the output item.
Examples
Example 1: List all download tasks
Set api=SYNO.DownloadStation2.Task.List, method=list, version=1, paramsJson={}