restful api facade for diego