|
Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
|
Get a list of actions that can be invoked on a fs-dir type resources
/fileservice/{device}|{directory}
GET
action=show Required
Returns action Forms for this resource
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/%24home/docs/" />
</head>
<body>
<div class="state">
<form id="fs-create" method="post" action="">
<input type="hidden" name="fs-action" value="create"/>
<input type="text" name="fs-newname"/>
</form>
<form id="fs-rename" method="post" action="">
<input type="hidden" name="fs-action" value="rename"/>
<input type="text" name="fs-newname"/>
</form>
<form id="fs-copy" method="post" action="">
<input type="hidden" name="fs-action" value="copy"/>
<input type="text" name="fs-newname"/>
<select name="fs-overwrite">
<option value="false" selected="selected">No</option>
<option value="true">Yes</option>
</select>
</form>
<form id="fs-upload" method="put" action="" enctype="multipart/form-data">
<input type="file" name="fs-filename"/>
</form>
<form id="fs-delete" method="delete" action="">
</form>
</div>
</body>
</html>
BAD_REQUEST(400) See Robot controller return codes
Get actions on directory
curl --digest -u "Default User":robotics "http://localhost/fileservice/$home/docs?action=show"
Supported in bootserver mode