Api call for list of open shaes per client machine.

I need to build a report to see which machine connected to what share and vice versa -- list of machines connected to some share.

In CLI cifs sessions %MACHINE_ADDRESS% works fine. It sows open shares, files etc. But in API browser I see that cifs-session-list-iter-next returns cifs-session-info structure where "shares" is an integer and returns only amount of open shares per client, but not names.


Any ideas how to get names of open cifs shares?