How to access branch measures with API (Version 7.9.1)?

Hello,
I need to retrieve measure for branches. The GUI shows no measures for master, but when I switch to develop I can see some.

I tried to get these develop branch measures with

/api/measures/search_history
/api/measures/component

but the measures are empty. I also have not seen a branch request parameter - are there only measures for master?

Tx

Hi,

Welcome to the community!

In the built-in Web API documentation there’s a check box at the top-left to show internal parameters. It reveals a branch parameter for these services which should “soon” be public (SONAR-133304). In the meantime, you use it at your own risk; the ‘internal’ label means it could change without warning (but it hasn’t changed in a couple years, so you should be okay).

 
HTH,
Ann