Read project tags via Web API?

  • which versions are you using
    SonarQube 9.1.0

  • what are you trying to achieve
    I’m looking for a way to retrieve the tags of a given project (via projectKey) but so far I’ve been unsuccessful. I can update the tags and I can search tags in general, but I was unable to retrieve the tags that have been set for a specific project (endpoints: /api/project_tags)

Am I overlooking something or is this not possible right now? If it’s not possible, could we get this endpoint in one of the future versions?

Hi,

Have you tried this via the UI? The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

 
HTH,
Ann

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.