Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Object Extension List

Returns symbol extension list.

URL

/rw/rapid/symbols/{symbol URL}

Method

GET

URL Params

info=object-list-ext

type={Statements | BackwardStmts | ErrorStmts | UndoStmts | TypeDecls | DataDecls | ParDecls | RtnDecls | Attribs}

See Common URL parameters

Option definition

Statements = statements

BackwardStmts = Backward Statements

UndoStmts = Undo Statements

TypeDecls = Type Declarations

DataDecls = Data Declarations

ParDecls = Parameter Declarations

RtnDecls = Routine Declarations

Attribs = Attributes

Data Params

None*

Success Response

HTTP_OK, see HTTP Status codes

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>rapid</title>
        <base href="http://localhost:4444/rw/rapid/"/>
    </head>
    <body>
        <div class="state">
        <a href="symbols/RAPID/T_ROB1/MainModule?info=object-list-ext&type=DataDecls" rel="self"></a>
            <ul>
                <li class="object-list-extension" title="RAPID/T_ROB1/mainmodule">
                    <span class="ext-begin-line">2</span>
                    <span class="ext-begin-column">2</span>
                    <span class="ext-end-line">7</span>
                    <span class="ext-end-column">137</span>
                    <span class="ext-first-begin-line">2</span>
                    <span class="ext-first-begin-column">2</span>
                    <span class="ext-first-end-line">2</span>
                    <span class="ext-first-end-column">125</span>
                    <span class="ext-last-begin-line">7</span>
                    <span class="ext-last-begin-column">5</span>
                    <span class="ext-last-end-line">7</span>
                    <span class="ext-last-end-column">137</span>
                </li>
            </ul>
        </div>
    </body>
</html>

Resources

  • ext-begin-line Begin line number of the object extension list
  • ext-begin-column Begin column number of the object extension list
  • ext-end-line End line number of the object extension list
  • ext-end-column End column number of the object extension list
  • ext-first-begin-line Begin line number of the first object in the list
  • ext-first-begin-column Begin column number of the first object in the list
  • ext-first-end-line End line number of the first object in the list
  • ext-first-end-column End column number of the first object in the list
  • ext-last-begin-line Begin line number of the last object in the list
  • ext-last-begin-column Begin column number of the last object in the list
  • ext-last-end-line End line number of the last object in the list
  • ext-last-end-column End column number of the last object in the list

Error Response

BAD_REQUEST (400)
See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics" "http://127.0.0.1/rw/rapid/symbols/RAPID/T_ROB1/mainmodule?info=object-list-ext&type=DataDecls"

Notes

Not supported in bootserver mode