-
Notifications
You must be signed in to change notification settings - Fork 5
REST firenodejs
firepick1 (localhost) edited this page Feb 15, 2016
·
5 revisions
The /firenodejs
REST service maintains service metadata and data persistence.
Individual requests may return HTTP501 if resources are unavailable.
Return service metadata
{
"version":{"major":0,"minor":4,"patch":0},
"camera":{"name":"video0","width":640,"height":480,"source":"/dev/video0","msCapture":1500,"available":true},
"firesight":{"available":true,"version":"0.14.9"},
"firestep":{"available":false,"initialized":false,"writes":0,"reads":0,"driver":"firestep"},
"images":{"available":true},
"measure":{"available":true}
}
Return posted data. Useful for {"saying":"hello"}
The REST sync service implements the Synchronizer.js synchronization protocol over REST. Since this protocol supports direct synchronization of JSON data models as implemented, it is necessarily an internal protocol subject to arbitrary change and is therefore NOT supported as a public API.
The following URLs are reserved for future use as REST protocols
- (tbd)