Returns the operations allowed on Speed Ratio resource.
URL
/rw/panel/speedratio
Method
GET
URL Params
action=show Required
See Common URL parameters
Data Params
None
Success Response
HTTP_OK(200)
see HTTP Status codes
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>panel</title>
<base href= "http://localhost/" />
</head>
<body>
<div class="state">
<form id="set-speed-ratio" method="post" action="/rw/panel/speedratio?action=setspeedratio">
<input type="number" name="speed-ratio" min="0" max="100"/>
</form>
<form id="subscribe" method="post" action="/subscription">
<fieldset class="sub_res">
<input type="checkbox" name="resources" value="1"/>
<input type="text" class="res" name="1" maxlength="500" value="/rw/panel/speedratio"/>
<select class="priority" name="1-p">
<option value="0" selected="selected"/>
<option value="1"/>
</select>
</fieldset>
</form>
</div>
</body>
</html>
Actions
- set-speed-ratio Set the speed ratio
- speed-ratio=[numeric] Required, can be a value between 0 and 100
- subscribe, for more information refer to Subscription service documentation
Subscribe on speed ratio changes.
Error Response
BAD_REQUEST(400)
See Robot controller return codes
Sample Call
curl --digest -u "Default User":robotics "http://localhost/rw/panel/speedratio?action=show"
Notes
Not supported in bootserver mode