Skip to content

synology downloadStation

Yannick Croissant edited this page Oct 20, 2013 · 3 revisions

downloadStation.info

GET /webapi/DownloadStation/info.cgi

Return/Update Download Station info and settings.

Parameters

Parameter Mandatory Default value Description
api Y Method ID: SYNO.DownloadStation.Info
version Y Version of the api to use. Possible values: 1.
method Y Method to use. Possibles values: getinfo, getconfig and setserverconfig
bt_max_download For method setserverconfig only. Max BT download speed in KB/s (0 means unlimited)
bt_max_upload For method setserverconfig only. Max BT upload speed in KB/s (0 means unlimited)
emule_max_download For method setserverconfig only. Max Emule download speed in KB/s (0 means unlimited)
emule_max_upload For method setserverconfig only. Max Emule upload speed in KB/s (0 means unlimited)
nzb_max_download For method setserverconfig only. Max NZB download speed in KB/s (0 means unlimited)
http_max_download For method setserverconfig only. Max HTTP download speed in KB/s (0 means unlimited)
ftp_max_download For method setserverconfig only. Max FTP download speed in KB/s (0 means unlimited)
emule_enabled For method setserverconfig only. If eMule service is enabled
unzip_service_enabled For method setserverconfig only. If Auto unzip service is enabled for users except admin or administrators group

Example

var Synology = require('synology');

var syno = new Synology();

syno.query(
  path: '/webapi/DownloadStation/info.cgi',
  params: {
    api: 'SYNO.DownloadStation.Info',
    version: 1,
    method: 'getinfo'
  }
}, function(err, data) {
  if (err) throw err;
  console.log(data);
});

Results

{
    "data": {
        "is_manager": true,
        "version": 2478,
        "version_string": "3.4-2478"
    },
    "success": true
}

downloadStation.rss.feed

downloadStation.rss.site

downloadStation.schedule

downloadStation.statistic

downloadStation.task

downloadStation.xunlei.setting

downloadStation.xunlei.task