created outputs REST api and added rendering view