added API endpoint to get repo data