Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Mastership Resources

Get a list of the all resources on which mastership request and release operation can be performed.

Currently, CFG, MOTION and RAPID resources are supported in mastership.

URL

/rw/mastership

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>MasterShip</title>
<base href="http://localhost/rw/mastership/"/>
</head>
<body>
<div class="state">
<a href="" rel="self"></a>
<a href="?action=show" rel="action"></a>
<ul>
<li class="msh-resource-li" title="cfg">
<a href="cfg" rel="self"></a>
</li>
<li class="msh-resource-li" title="motion">
<a href="motion" rel="self"></a>
</li>
<li class="msh-resource-li" title="rapid">
<a href="rapid" rel="self"></a>
</li>
</ul>
</div>
</body>
</html>

Resources

  • msh-resource-li Provides link to the detailed msh-resource resource.
  • cfg = acquire mastership over configuration (cfg) domain
  • motion = acquire mastership over motion domain
  • rapid = acquire mastership over RAPID domain

Error Response

BAD_REQUEST(400)

NOT_FOUND(404)

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/mastership"

Notes

Not supported in bootserver mode