so, all the digital shadow functions have been deprecated some time ago, since nobody was using them. as you saw, there are still some references here and there that slipped through, but we are working on that.
regarding your issue, for now the only solution would be to directly query the database. i would be happy to help you with that, if you want
ps: we are working on a new implementation of the digital shadow using MongoDB, but it will take some time