List Nodes by Name¶
Supported Versions | Last Updated |
---|---|
1.2.00 & higher json output 1.14.00 & higher |
2013/04/30 |
Action | listnodes |
---|---|
Method | GET, POST |
Variables | type [openvz|xen|xen hvm|kvm] rdtype [json] For json output specify json or for default output leave blank. This variable is optional |
Example Output | XMLSuccess: <status>success</status> <statusmsg></statusmsg> <nodes>node1,node2,node3,node4</nodes> Error: <status>error</status> <statusmsg>ERROR MESSAGE</statusmsg> JSONSuccess: { "status":"success", "statusmsg":"", "nodes":"node1,node2,node3" } Error: {"status":"error","statusmsg":"ERROR MESSAGE"} |