Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
|
Get a list of actions that can be invoked on a fs-file
type resources
/fileservice/{device}|{directory}/{file}
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/index.html/" /> </head> <body> <div class="state"> <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" select-ed="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>
UNAUTHORIZED(401), NOT_FOUND(404), See Robot controller return codes
Get actions on a file.
curl --digest -u "Default User":robotics "http://localhost/fileservice/$home/docs/test.txt?action=show"
Supported in bootserver mode