Users Manual
(continued from previous page)
"height": "960",
"temp
_
left": "39.6",
"temp
_
right": "38.2",
"time": "0.00406513",
"width": "1280"
}
}
Parameters
• node (string) – name of the node (required)
Response Headers
• Content-Type – application/json
Status Codes
• 200 OK – successful operation (returns NodeStatus)
• 404 Not Found – node not found
Referenced Data Models
• NodeStatus (Section 8.2.3)
Datastreams
The following resources and requests allow access to and configuration of the The rc_dynamics interface data
streams (Section 8.3). These REST-API requests offer
• showing available and currently running data streams, e.g.,
curl -X GET http://<rcvisard>/api/v1/datastreams
• starting a data stream to a destination, e.g.,
curl -X PUT --header 'Content-Type: application/x-www-form-urlencoded' -d 'destination=
˓→<target-ip>:<target-port>' http://<rcvisard>/api/v1/datastreams/pose
• and stopping data streams, e.g.,
curl -X DELETE http://<rcvisard>/api/v1/datastreams/pose?destination=<target-ip>:<target-
˓→port>
The following list includes all REST-API requests associated with data streams:
GET /datastreams
Get list of available data streams.
Template request
GET /api/v1/datastreams HTTP/1.1
Host: <rcvisard>
Sample response
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"description": "Pose of left camera at VisualOdometry rate (~10Hz)",
(continues on next page)
8.2. REST-API interface 140