RESTful api for Reveal app