Implementation of basic RESTful interface for the camera.