I have a list with items in SharePoint Online. There many items and their structure look like a tree.
list/
itemA/
itemB/
itemBa/
itemX
itemBb/
itemY
itemBc/
itemC/
How can I get a parent guid of the itemX by REST or GraphAPI? (for example)
Actually, I have to get a hierarchy of items on the List. But SharePoint API provides children of a List, but not their hierarchy. Is it possible to get?