Which hierarchy? Do you mean the organization's personnel hierarchy? Check out the "manager" field of the person's entity: Jive REST API v3.14 → Person entity
Do you mean the hierarchy of a piece of content? Check out the "parent" field of the content type (this is for discussion entity): Jive REST API v3.14 → Discussion entity
2 people found this helpful
Oh, it looks like what you're asking for is the Container Hierarchy. Its important to be specific with your questions in the community, especially what you're trying to achieve.
Space hierarchy can be obtained by calling the places endpoint on the space itself.
For example lets say for spaces A,B,D in your diagram:
A.id = 1
B.id = 2
D.id = 4
if we call /api/core/v3/places/1/places, we should get back a list of spaces, projects and blogs whose parent is A which includes space B.
if we call /api/core/v3/places/2/places we should get a list with space D.
If you know your starting place, you can retrieve the full hierarchy by recursing down the tree like that.
Social Groups are different. Groups themselves have no hierarchy, its a flat structure. They do, however, still have a /places endpoint. This endpoint will return any projects or blogs whose parent is the group.
As I mentioned, Blogs are also considered places or "containers" in some respects in Jive, so they will show up in the places API responses, but it's fairly easy to ignore them. They have no children.
Hope this helps.
Thank You soooooooooo...... much Mr.Scott A Johnson. Really helpful.