Returns System Energy Information Change Count
URL
/rw/system/energy
Method
GET
URL Params
resource = change-count 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>system</title>
<base href="http://localhost/rw/system/energy/"/>
</head>
<body>
<div class="state">
<a href="" rel="self"/>
<a href="?action=show" rel="action"></a>
<ul>
<li class="sys-energy-changecount-li" title="energy-info-changecount">
<span class="change-count">"4"</span>
</li>
</ul>
</li>
</ul>
</div>
</body>
</html>
Resources
- sys-energy-changecount-li
- change-count Returns the change count of the measurement. The value is increased when a new measurement is available.
Error Response
BAD_REQUEST(400)
Robot controller errors, see Robot controller return codes
Sample Call
curl --digest -u "Default User":robotics "http://localhost/rw/system/energy?resource=change-count"
Notes
Not supported in bootserver mode