AnsweredAssumed Answered

How to find highest asset in hierarchy depending on access rights

Question asked by MatthiasTeich on Apr 22, 2020

Hi all,

 

I am writing a javascript app which uses bearer tokens to talk to pi web api. There are multiple logins which may see different subtrees in the asset framework.

 

I need a query which returns the topmost root elements for these subtrees which contain a certain attribute.

 

 

Is this possible or do i have to download all asset data and find the root elements myself?

 

Best regards

Outcomes