API call not listing all projects in SonarQube 5.6

613 views
Skip to first unread message

Suresh Shanmugam

unread,
Jun 15, 2017, 7:09:41 AM6/15/17
to SonarQube
I tried the below URL using postman,


When I login to SonarQube website & check im seeing 850 projects listed..

where as the above API returning only 500 projects..

can you help , how can I get the complete list of projects?

TIA

Julien Lancelot

unread,
Jun 15, 2017, 8:03:13 AM6/15/17
to Suresh Shanmugam, SonarQube
Hi Suresh,

The WS api/resources/index is deprecated since 5.6, you should use api/projects/index.
(And note that starting 6.3, you'll be able to use api/components/search instead).

Regards,

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/f38afb74-6728-47b5-b150-de43af0c5fd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Julien Lancelot | SonarSource

Suresh Shanmugam

unread,
Jun 16, 2017, 1:35:12 AM6/16/17
to SonarQube, suresh.s...@pearson.com
Hi Julien ,

  Thankyou very much!!

Regards,
Suresh.S
Reply all
Reply to author
Forward
0 new messages