working on rest services for repositories