Sonar REST API - date of scanning and Coverage on the same RESTAPI

Must-share information (formatted with Markdown):

  • which versions are you using- Community Edition Version 8.3.1 (build 34397)
  • what are you trying to achieve - get coverage of overall and new code in addition to get in the same REST API the date of scanning
  • what have you tried so far to achieve this - execute NEW CODE coverage RESTAPI- https://actsonarqube.actimize.systems/api/qualitygates/project_status?projectKey=X but this contain the date of the base period and I need the last time of scanning

execute for OVERALL coverage RESTAPI -
https://actsonarqube.actimize.systems/api/measures/component?component=x&metricKeys=coverage

but again in this API - I have no date of scanning

Hello,

You may want to use API GET api/measures/search_history
i.e something like
https://actsonarqube.actimize.systems/api/measures/search_history?component=x&metrics=coverage

Regards

Eric

Thanks Eric , regarding overall code - U r right? but what about new code ?