RESTful API for prometheus app