add api for getting all entries with data