-
Notifications
You must be signed in to change notification settings - Fork 5
REST firesight
The /firesight
REST service processes saved/current images by location.
It uses the /image and /firestep REST services.
Return most recently processed image output for designated camera at current location.
Return most recent processed image of designated camera at designated location (1.001,-2.002,3.003).
Capture and compare current designated camera image with the saved image for the current location. Return JSON object that defines the offset between two images.
The following URLs are reserved for future use as REST protocols
- (tbd)
Image processing is not guaranteed to succeed. For example, comparing the offset between the image of a squirrel and the image of the sun will almost surely fail. These are expected errors. Expected errors are handled with HTTP200 and null values for result fields having no data.
Unexpected errors are handled by non HTTP200 status returns:
- HTTP501 if resources are not implemented or unavailable (e.g.. FireSight is missing)
- HTTP500 if an unexpected server error occurred