added api method to return labels of a given project