Skip to content
Yannick Croissant edited this page Aug 16, 2013 · 6 revisions

dsm.application

?????

dsm.autoBlock

?????

dsm.connection

?????

dsm.encryptShare

?????

dsm.findMe

?????

dsm.group

?????

dsm.info

GET /webapi/dsm/info.cgi

Return informations about the NAS.

Parameters

Parameter Mandatory Default value Description
api Y Method ID: SYNO.DSM.Info
version Y Version of the api to use. Possible values: 1.
method Y Method to use. Possibles values: getinfo

Example

var Synology = require('synology');

var syno = new Synology();

syno.dsm.info(function(err, data) {
  if (err) throw err;
  console.log(data);
});

Results

{
    "data": {
        "codepage": "fre",
        "model": "DS412+",
        "ram": 1024,
        "serial": "C8GDN06509",
        "temperature": 48,
        "temperature_warn": false,
        "time": "Sat Aug 17 00:37:38 2013",
        "uptime": 3299114,
        "version": "3750",
        "version_string": "DSM 4.3-3750"
    },
    "success": true
}

dsm.logViewer

?????

dsm.network

?????

dsm.package

?????

dsm.pushNotification

?????

dsm.service

GET /webapi/dsm/service.cgi

Return the service's list and their status.

Parameters

Parameter Mandatory Default value Description
api Y Method ID: SYNO.DSM.Service
version Y Version of the api to use. Possible values: 1.
method Y Method to use. Possibles values: list

Example

var Synology = require('synology');

var syno = new Synology();

syno.dsm.service(function(err, data) {
  if (err) throw err;
  console.log(data);
});

Results

{
    "data": {
        "offset": 0,
        "services": [{
            "enabled": true,
            "name": "Samba"
        }, {
            "enabled": true,
            "name": "AutoBlock"
        }, {
            "enabled": false,
            "name": "WebDAV"
        }],
        "total": 3
    },
    "success": true
}

dsm.share

?????

dsm.system

?????

dsm.systemLoading

?????

dsm.user

?????

dsm.volume

?????

dsm.iSCSI

?????

Clone this wiki locally