0

Do you know what's the API endpoint needed for me to get the total number of Unit Tests in my SonarCloud? The yellow one is the one that I need to get using an API Endpoint upon digging the documentation it is somewhere in the api/metrics or api/measure but I have no luck. If you can help me or suggest what API I can use.

enter image description here

Mustafa Özçetin
  • 1,893
  • 1
  • 14
  • 16
Noob
  • 31
  • 5

1 Answers1

0

Already found an answer to this one

https://sonarcloud.io/api/measures/component?component={componentKey}&metricKeys=tests
Noob
  • 31
  • 5