interation with API for collections/models/views