Users Manual

(continued from previous page)
"destinations": [
"192.168.1.13:30000"
],
"name": "pose",
"protobuf": "Frame",
"protocol": "UDP"
}
Parameters
stream (string) name of the stream (required)
Response Headers
Content-Type application/json
Status Codes
200 OK successful operation (returns Stream)
404 Not Found datastream not found
Referenced Data Models
Stream (Section 8.2.3)
PUT /datastreams/{stream}
Update a datastream configuration.
Template request
PUT /api/v1/datastreams/<stream> HTTP/1.1
Host: <rcvisard>
Accept: application/x-www-form-urlencoded
Sample response
HTTP/1.1 200 OK
Content-Type: application/json
{
"description": "Pose of left camera at VisualOdometry rate (~10Hz)",
"destinations": [
"192.168.1.13:30000",
"192.168.1.25:40000"
],
"name": "pose",
"protobuf": "Frame",
"protocol": "UDP"
}
Parameters
stream (string) name of the stream (required)
Form Parameters
destination destination (“IP:port”) to add (required)
Request Headers
Accept application/x-www-form-urlencoded
Response Headers
Content-Type application/json
8.2. REST-API interface 142