Looking for API to get code coverage

I am using version 9.6
I am looking for REST API to get the code coverage.

Hi @ajith_u ,

is this the endpoint you are looking for?

/api/measures/component?additionalFields=metrics&component=<YOUR COMPONENT>&metricKeys=coverage%2Cnew_coverage"

Thank you, this worked.

https://MY_HOST/api/measures/component?additionalFields=metrics&component=<MY_COMPONENT>&metricKeys=coverage%2Cbranch_coverage

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