Users Manual
HTTP/1.1 200 OK
Content-Type: application/json
{
"name": "set
_
pose",
"response": {
"message": "Grid detected, pose stored.",
"status": 1,
"success": true
}
}
Parameters
• node (string) – name of the node (required)
• service (string) – name of the service (required)
Request JSON Object
• service args (Service) – example args (required)
Request Headers
• Accept – application/json
Response Headers
• Content-Type – application/json
Status Codes
• 200 OK – successful operation (returns Service)
• 404 Not Found – node or service not found
• 403 Forbidden – Service call forbidden, e.g. because there is no valid license for this
component.
Referenced Data Models
• Service (Section 8.2.3)
GET /nodes/{node}/status
Get status of a node.
Template request
GET /api/v1/nodes/<node>/status HTTP/1.1
Host: <rcvisard>
Sample response
HTTP/1.1 200 OK
Content-Type: application/json
{
"status": "running",
"timestamp": 1503075030.2335997,
"values": {
"baseline": "0.0650542",
"color": "0",
"exp": "0.00426667",
"focal": "0.844893",
"fps": "25.1352",
"gain": "12.0412",
(continues on next page)
8.2. REST-API interface 139