Robot Web Services
3HAC050973-001 Revision:K, Application Manual - Robot Web Services
|
Returns a list of File System root resources.
The Root of the File System consists of devices in the File System such as C , D etc. drive on VC and /hda0, /bd:02 etc. on RC.
The Root also supports environment variables:
The following environment variables are supported:
Syspar
Within the URI, the environment variables are specified in all small case and preceded with the dollar $
character e.g. $home, $temp etc The list contains a list of all devices in file system, their type, available free space and total capacity of each device.
/fileservice
GET
None
None
HTTP_OK(200)
<?xml version="1.0" encoding="utf-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>File Service</title> <base href="http://localhost/fileservice/" /> </head> <body> <div class="state"> <a href="" rel="self"></a> <ul> <li class="fs-device" title="C%3a"> <a href="" rel="parent"></a> <a href="C%3a" rel="self"></a> <span class="fs-device-type">fixed</span> <span class="fs-free-space">4284162048</span> <span class="fs-total-space">128033222656</span> <span class="fs-enabled">true</span> <span class="fs-readonly">false</span> </li> <li class="fs-device" title="T%3a"> <a href="" rel="parent"></a> <a href="T%3a" rel="self"></a> <span class="fs-device-type">fixed</span> <span class="fs-free-space">1819648000</span> <span class="fs-total-space">118099013632</span> <span class="fs-enabled">true</span> <span class="fs-readonly">false</span> </li> <li class="fs-device" title="V%3a"> <a href="" rel="parent"></a> <a href="V%3a" rel="self"></a> <span class="fs-device-type">fixed</span> <span class="fs-free-space">1819648000</span> <span class="fs-total-space">118099013632</span> <span class="fs-enabled">true</span> <span class="fs-readonly">false</span> </li> <li class="fs-device" title="Z%3a"> <a href="" rel="parent"></a> <a href="Z%3a" rel="self"></a> <span class="fs-device-type">fixed</span> <span class="fs-free-space">1244702355456</span> <span class="fs-total-space">3583720714240</span> <span class="fs-enabled">true</span> <span class="fs-readonly">false</span> </li> </ul> </div> </body> </html>
fixed
, removable
, ramdisk
, remote
or unknown
.UNAUTHORIZED(401),NOT_FOUND(404)
See Robot controller return codes
Get a list of root resources
curl --digest -u "Default User":robotics "http://localhost/fileservice"