Robot Web Services
3HAC050973-001 Revision:L, Application Manual - Robot Web Services
Get DIPC Actions

Returns the operations allowed on DIPC resource.

URL

/rw/dipc

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>RobAPI2 DIPC</title>
        <base href= "http://localhost/" />
    </head>
    <body>
        <div class="state">
            <form id="dipc-create" method="post" action="/rw/dipc?action=dipc-create">
              <input name="dipc-queue-name" maxlength="500" type="text"/>
              <input name="dipc-queue-size" type="number"/>
              <input name="dipc-max-msg-size" type="number"/
            </form>
            <form method="post" action="subscription" name="dipc-subscribe">    
                <fieldset class="sub-res">
                    <input name="resources" value="1" type="hidden"/>
                    <input name="1" value="/rw/dipc/testq" maxlength="500" type="hidden"/>
                    <select name="1-p">
                        <option value="0" selected="selected"></option>
                        <option value="1"></option>
                    </select>
                </fieldset>
            </form>
        </div>
    </body>
</html>

Actions

  • dipc-create
    • dipc-queue-name=[alphanumeric] Required, The name of queue
    • dipc-queue-size=[anumeric] Required, The size of queue
    • dipc-max-msg-size=[anumeric] Required, The mazimum message size allowed in queue. Create a queue.
  • subscribe Subscription Parameters**
    • dipc-subscribe Subscribe on DIPC queues
    • sub-res subscription resource
    • resources resources
    • selected selected

Error Response

BAD_REQUEST(400)

HTTP Errors, see HTTP Status codes

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/dipc?action=show"

Notes

Not supported in bootserver mode