Quantcast
Channel: VMware Communities : Discussion List - VMware {code}
Viewing all articles
Browse latest Browse all 2738

Given an object, determine its parent?

$
0
0

In the filter spec, we can provide a parent ID with which to search for objects. Can that go the other way?

 

For instance, if we have the following folder structure

 

  • alpha
    • foo
  • beta
    • foo
  • gamma
    • foo

 

If I execute a GET against https://server/rest/vcenter/folder?filter.names=foo, three objects are returned. Can I get either the parent object from those, or some how walk the tree back up to see what the path is?


Viewing all articles
Browse latest Browse all 2738

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>