Skip to content
firepick1 (localhost) edited this page Nov 13, 2015 · 6 revisions

HTTP REST image workspace service

The /images REST service caches camera images by camera and location. These images are stored in RAM disk on the firenodejs™ server and are therefore lost on system shutdown.

Supported Protocols

Individual requests may return HTTP501 if resources are unavailable.

➡️ GET /images/location

Return location string used to index images. For example, if the current location is (1.001, -2.002, 3.003), then the location string is:

X1.001Y-2.002Z3.003
➡️ GET /images/default/image.jpg
➡️ GET /images/raspistill/image.jpg
➡️ GET /images/video0/image.jpg
➡️ GET /images/video1/image.jpg

Return saved image of designated camera at current location.

➡️ GET /images/default/X1.001Y-2.002Z3.003.jpg
➡️ GET /images/raspistill/X1.001Y-2.002Z3.003.jpg
➡️ GET /images/video0/X1.001Y-2.002Z3.003.jpg
➡️ GET /images/video1/X1.001Y-2.002Z3.003.jpg

Return saved image of designated camera at designated location (1.001,-2.002,3.003).

➡️ GET /images/default/save
➡️ GET /images/raspistill/save
➡️ GET /images/video0/save
➡️ GET /images/video1/save

Capture and save designated camera image for current location. Return path to saved image.

Reserved Protocols

The following URLs are reserved for future use as REST protocols

  • (tbd)

See Also