Returns the build errors list for a rapid task
URL
/rw/rapid/tasks/{task}/program/builderror
Method
GET
URL Params
limit={limit_value} Optional
start={start_value} Optional
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>rapid</title>
<base href="http://127.0.0.1/rw/rapid/"/>
</head>
<body>
div class="state">
<a href= "tasks/T_ROB1/program/builderror?limit=2" rel="self"/>
<a href= "tasks/T_ROB1/program/builderror?start=1&limit=2" rel="prev"/>
<a href= "tasks/T_ROB1/program/builderror?start=3&limit=2" rel="next"/>
<ul>
<li class="rap-builderrs" title="builderrs">
<span class="ModuleName">MainModule</span>
<span class="row">15</span>
<span class="column">8</span>
<span class="error">S:"';'"</span>
</li>
<li class="rap-builderrs" title="builderrs">
<span class="ModuleName">MainModule</span>
<span class="row">19</span>
<span class="column">8</span>
<span class="error">S:"';'"</span>
</li>
</ul>
</div>
</body>
</html>
Resources
- start Reference to where the retrieval of build errors should start. Set to 1 to start from the beginning. The value returned can be used in the next call.
- limit The maximal number of elements to retrieve
- prev Link to previous page (Will be absent if there is no prev page)
- next Link to next page (Will be absent if there is no next page)
- rap-builderrs
- ModuleName Module name
- row Row number
- column Column number
- error RAPID build error
Error Response
NOT_FOUND(404),BAD_REQUEST(400), see HTTP Status codes
Robot controller errors, see Robot controller return codes
Sample Call
curl --digest -u "Default User":robotics" "http://127.0.0.1/rw/rapid/tasks/T_ROB1/program/builderror?start=1&limit=2"
Notes
Default value of start is 1 and maximum value of limit is 30(maximum supported by RAPID).
Absence of prev and next link indicates first and last page respectively.
Not supported in bootserver mode.