code: public List<GitlabBadge> getProjectBadges(Serializable projectId) throws IOException {
          String tailUrl = GitlabProject.URL + "/" + sanitizeProjectId(projectId) + GitlabBadge.URL;
          return Arrays.asList(retrieve().to(tailUrl, GitlabBadge[].class));
      }
docs: Get project badges
  
  @param projectId The id of the project for which the badges should be retrieved
  @return The list of badges
  
  @throws IOException on GitLab API call error