Web API to retrieve the list of projects that a group can browse


(David Racodon) #1


Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube Community LTS (6.7.6)

  • what are you trying to achieve
    I’d like to get the list of projects that a group can browse.
    The objective is to provide, on the team dashboard (external reporting tool), the SonarQube links to all their projects. A team = an LDAP group = a group in SonarQube.

  • what have you tried so far to achieve this
    I couldn’t find any API to achieve this goal so far.
    How would I achieve this goal?

Thanks for your help

Have a good day!


(G Ann Campbell) #2

Hi David,

This isn’t available from a public API but api/permissions/groups may give you what you want. This service is marked “internal” so you risk its functionality changing out from under you if you use it.


(David Racodon) #3

Thanks! I managed to get what I wanted.