Skip to content
firepick1 (localhost) edited this page Feb 15, 2016 · 5 revisions

HTTP REST firenodejs metadata service

The /firenodejs REST service maintains service metadata and data persistence.

Supported Protocols

Individual requests may return HTTP501 if resources are unavailable.

➡️ GET /firenodejs/model

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}
}
⬅️ POST /firenodejs/echo

Return posted data. Useful for {"saying":"hello"}

⬅️ POST /firenodejs/sync

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.

Reserved Protocols

The following URLs are reserved for future use as REST protocols

  • (tbd)

See Also