-
Notifications
You must be signed in to change notification settings - Fork 13
synology dsm
Yannick Croissant edited this page Aug 16, 2013
·
6 revisions
Return informations about the NAS..
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
|
var Synology = require('synology');
var syno = new Synology();
syno.dsm.info(function(err, data) {
if (err) throw err;
console.log(data);
});
{
"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
}