|
Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
|
Get a list of actions that can be performed on the CFG domain.
/rw/cfg/{domain}
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">
<head>
<title>cfg</title>
<base href="http://localhost/rw/cfg/"/>
</head>
<body>
<div class="state">
<form id="saveas" method='post' action="sio?action=saveas">
<input type="text" name="filepath"/>
</form>
<form name="reset" method='post' action="sio?action=reset">
</form>
</div>
</body>
</html>
BAD_REQUEST(400)
Robot controller errors, See Robot controller return codes
Get actions supported by a CFG domain
curl --digest -u "Default User":robotics "http://localhost/rw/cfg/sio?action=show"
Save the CFG domain to the given file.
curl --digest -u "Default User":robotics -d "filepath=/fileservice/$HOME/a.cfg" -X POST "http://localhost/rw/cfg/sio?action=saveas"
Remove all external instances in a CFG domain
curl --digest -u "Default User":robotics -X POST "http://localhost/rw/cfg/sio?action=reset"
CFG Mastership is handled internally if not explicit held by the client.
Not supported in bootserver mode