PI Web API Search: How to search for attribute categories?

Currently exploring the features of PI Web API for making a simple web portal based on AF data.

 

But I can not figure out a way to search for attribute categories. (All the interesting data is tagged with a attribute category)

 

It seems that only element categories are searchable and not the attribute categories. I hope is missed something?

 

The data I want to get is: Give me for element X all attributes and child attributes with category Y. (Next action is getting the links / WebID as pointed out by Roger Palmen

Parents
No Data
Reply Children
  • I'd like to add that the ability to browse/ edit categories in PI Web API is coming in the next release, as well as some filters when listing the attributes of an element or event frame.  Attribute category is one of those filters.

     

    For example, this is possible in our dev branch:

     

    https://server/piwebapi/elements/{webId}/attributes?categoryName=category1

     

    And will return all child attributes of the specified element that have a category of category1

     

    https://server/piwebapi/elements/{webId}/attributes?categoryName=category1&searchFullHierarchy=true

     

    Will return all attributes and subattributes of the specified element that have a category of category1

     

    And I'm not sure that we've officially announced this anywhere yet, but a beta that includes this functionality will drop on vCampus around the end of November.