WIth the new SDK released I noticed the Metadata entities, not sure if these existed before hand, anyways.
Am I correct in assuming these can be used to get all relationships based on a entity ID? If so are there any examples someone can provide on how to properly query this. If not can more context be provided on what the metadata entities provide. I was hoping to be able to get all relationships from by passing in the nodeID or entityID, simliar to how the perfstack API operates. I could then populate some nice group views.
The entities in the Metadata namespace have always been there. Their purpose is to describe the schema. They describe types, not instances. PerfStack uses various metadata queries to figure out what types are available and how they are related as well as what metrics exist on each.