added stub for restful api