Searching components of an organization returns nothing on SonarCloud


I am trying to get all components providing organization’s name with url{organizationKey}&qualifiers=TRK

but get null in components even I know they are there…

“paging”: {
“pageIndex”: 1,
“pageSize”: 100,
“total”: 0

Am I missing something? Could you please help?
Thank you!

If your organization is paid and your project are private they won’t show up in the result of the request unless you authenticate it.

If you are not authenticated when doing the request, only the public projects of your organization will be returned.

You can do an authenticated request like this:

curl -u {yourToken}:{organizationKey}&qualifiers=TRK
1 Like