add rest call for collections