listCompetitions api implementation