Whats the difference between projects scope and qualifier?

Hi,

I have just started evaluating sonar v7.9.1 and i want to get a list of all the projects through API.
I’ve seen in different forums that i can get a list of all the projects using ```
http://my-domain/api/components/search?qualifiers=TRK

Whats the difference between qualifiers =trk and scopes =prj and when do we use them ?

Hi,

In fact, you should not worry about the scope :slight_smile:

Regards

Thank you. Can you tell me when do we actually use scope/qualifier in the query ?

The query accept only qualifiers parameter.

Filter the results with the specified qualifiers. Possible values are:

  • BRC - Sub-projects
  • DIR - Directories
  • FIL - Files
  • TRK - Projects
  • UTS - Test Files