Restful API for PUP