SoftNAS API Guide
Menu
Index

3.34. snapcommand

 
Description
 
This method is used to issue a snapshot control command.
 
Request
 
In addition the the Standard Request Structure, the following parameters are required.
 
For definitions of parameters, see section Properties
Parameter
Parameter Name
Required?
pool name
pool_name
Y
start
start
Y
limit
limit
Y
 
Response
 
 
Example
{
    "result": {
        "msg": "",
        "records": [
            {
                "creation": "Sun Jan 12 19:00 2014 ",
                "datesort": 1389574800,
                "pool_name": "pool3",
                "refer": "136K",
                "snapshot_name": "hourly1",
                "volume_name": "vol1"
            }
        ],
        "success": true,
        "total": 1
    },
    "session_id": 11255,
    "success": true
}
 
 
 
 
Made with help of Dr.Explain