Coverage History for a Folder

Using the Web API, i would like to get the historical metric values for a folder.

I can’t find a way to get this off of the measure/search_history endpoint (ex. path components return no data)

The api/measures/component_tree endpoint seems to show the folder current stats, but doesn’t have date range parameters. measure/search_history has date range parameters, but doesn’t support folders.

Finally, I am unable to get the component tree from a historical date. If that were possible, I could at least attempt to aggregate the values on my own using the seach_history endpoint with the date range.

Hey there.

SonarCloud does not store historical measures at a file/directory level. Sorry :confused: