Download StorNext Logs - CNET Content Solutions

Transcript
Appendix D: Web Services API
WS-API APIs
Parameter
Req / Opt
Num
Description
format
Optional
1
Output format: json,
text, or xml. The default
output format is text.
Example: format=xml
Num is the number of arguments: 1 = only one allowed, N = multiple
allowed, the parameter name is repeated for multiple entries, for
example, x=1&x=2&x=3.
Examples
Status of the 'sdisk' component.
http://host:81/axis2/services/stornext/getDriveReport
?password=stornext
&componentAlias=sdisk
&format=xml
The getFileLocation API
The getFileLocation API reports the current location(s) of files,
whether on disk, on a particular medium, or not in the SNMS system. It
also shows file attribute information.
Running this API is equivalent to running the fsfileinfo command.
Parameter
Req / Opt
Num
Description
password
Required
1
This is the password stored in the
/usr/adic/.snapipassword
file on the server.
Example: password=stornext
566
StorNext 4.7.x User’s Guide