Returns a list of IO network resources defined in the robot controller.
URL
/rw/iosystem/networks
Method
GET
URL Params
None
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>io</title>
<base href="http://localhost/rw/iosystem/"/>
</head>
<body>
<div class="state">
<a href="networks" rel="self"/>
<ul>
<li class="ios-network-li" title="Local">
<a href="networks/Local" rel="self"></a>
<a href="devices?network=Local" rel="devices"></a>
<span class="name">Local</span>
<span class="pstate">running</span>
<span class="lstate">started</span>
</li>
<li class="ios-network-li" title="Virtual">
<a href="networks/Virtual" rel="self"/>
<a href="devices?network=Virtual" rel="devices"/>
<span class="name">Virtual</span>
<span class="pstate">running</span>
<span class="lstate">started</span>
</li>
</ul>
</div>
</body>
</html>
Resources
- ios-network-li
- name Name of the IO-network
- pstate Physical state of the network: {halted, running, error, startup, init, unknown}
- lstate Logical state: {started, stopped, unknown}
- rel
- devices Link to devices connected to this network
Error Response
BAD_REQUEST(400)
See Robot controller return codes
Sample Call
curl --digest -u "Default User":robotics "http://localhost/rw/iosystem/networks"
Notes
Not supported in bootserver mode