Added api for group details.